Compartilhar via


AudioRecord.ChannelConfiguration Property

Definition

Returns the configured channel position mask.

public virtual Android.Media.ChannelIn ChannelConfiguration { [Android.Runtime.Register("getChannelConfiguration", "()I", "GetGetChannelConfigurationHandler")] get; }
[<get: Android.Runtime.Register("getChannelConfiguration", "()I", "GetGetChannelConfigurationHandler")>]
member this.ChannelConfiguration : Android.Media.ChannelIn

Property Value

Attributes

Remarks

Returns the configured channel position mask.

See AudioFormat#CHANNEL_IN_MONO and AudioFormat#CHANNEL_IN_STEREO. This method may return AudioFormat#CHANNEL_INVALID if a channel index mask is used. Consider #getFormat() instead, to obtain an AudioFormat, which contains both the channel position mask and the channel index mask.

Java documentation for android.media.AudioRecord.getChannelConfiguration().

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