AudioTrack.ChannelConfiguration Property
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.
Returns the configured channel position mask.
public virtual Android.Media.ChannelOut ChannelConfiguration { [Android.Runtime.Register("getChannelConfiguration", "()I", "GetGetChannelConfigurationHandler")] get; }
[<get: Android.Runtime.Register("getChannelConfiguration", "()I", "GetGetChannelConfigurationHandler")>]
member this.ChannelConfiguration : Android.Media.ChannelOut
Property Value
- Attributes
Remarks
Returns the configured channel position mask.
For example, refer to AudioFormat#CHANNEL_OUT_MONO
, AudioFormat#CHANNEL_OUT_STEREO
, AudioFormat#CHANNEL_OUT_5POINT1
. This method may return AudioFormat#CHANNEL_INVALID
if a channel index mask was 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.AudioTrack.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.