AudioFormat.Builder.SetChannelAcnMask(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Ambisonics channel mask.
[Android.Runtime.Register("setChannelAcnMask", "(I)Landroid/media/AudioFormat$Builder;", "GetSetChannelAcnMask_IHandler", ApiSince=37)]
public virtual Android.Media.AudioFormat.Builder SetChannelAcnMask(int channelAcnMask);
[<Android.Runtime.Register("setChannelAcnMask", "(I)Landroid/media/AudioFormat$Builder;", "GetSetChannelAcnMask_IHandler", ApiSince=37)>]
abstract member SetChannelAcnMask : int -> Android.Media.AudioFormat.Builder
override this.SetChannelAcnMask : int -> Android.Media.AudioFormat.Builder
Parameters
- channelAcnMask
- Int32
the Ambisonics channel mask, e.g. AudioFormat.CHANNEL_ACN_ORDER_1, AudioFormat.CHANNEL_ACN_ORDER_1_HRZ.
Returns
the same Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the Ambisonics channel mask. The Ambisonics channel mask specifies that the audio data is in Ambisonics format, using the ACN (Ambisonics Channel Number) ordering and SN3D normalization. The mask indicates the order of the Ambisonics content and whether it is a full-sphere or horizontal-only representation.
Android reference for android.media.AudioFormat.Builder.setChannelAcnMask.
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.