Share via


Spatializer.SpatializedChannelMasks Property

Definition

Returns a list of channel masks that represent the widest channel masks the spatializer is capable of rendering with individual channel positions.

public virtual System.Collections.Generic.IList<Java.Lang.Integer> SpatializedChannelMasks { [Android.Runtime.Register("getSpatializedChannelMasks", "()Ljava/util/List;", "GetGetSpatializedChannelMasksHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getSpatializedChannelMasks", "()Ljava/util/List;", "GetGetSpatializedChannelMasksHandler", ApiSince=36)>]
member this.SpatializedChannelMasks : System.Collections.Generic.IList<Java.Lang.Integer>

Property Value

a list of channel masks following the CHANNEL_OUT_* output channel definitions found in AudioFormat.

Attributes

Remarks

Returns a list of channel masks that represent the widest channel masks the spatializer is capable of rendering with individual channel positions. For instance a spatializer may only support virtual speaker positions for 5.1, it would therefore return AudioFormat#CHANNEL_OUT_5POINT1. But it would still return true when querying #canBeSpatialized(AudioAttributes, AudioFormat) it with a channel mask of AudioFormat#CHANNEL_OUT_7POINT1POINT2: the sound present in each channel would still be heard, but the sounds from the rear, side and top pairs would be mixed together, and be spatialized at the same location.

Java documentation for android.media.Spatializer.getSpatializedChannelMasks().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to