Share via


AudioFormat.ChannelCount Property

Definition

Return the channel count.

public virtual int ChannelCount { [Android.Runtime.Register("getChannelCount", "()I", "GetGetChannelCountHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getChannelCount", "()I", "GetGetChannelCountHandler", ApiSince=23)>]
member this.ChannelCount : int

Property Value

the channel count derived from the channel position mask or the channel index mask. Zero is returned if both the channel position mask and the channel index mask are not set.

Attributes

Remarks

Return the channel count.

Java documentation for android.media.AudioFormat.getChannelCount().

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