List of usage examples for android.media AudioFormat CHANNEL_INVALID
int CHANNEL_INVALID
To view the source code for android.media AudioFormat CHANNEL_INVALID.
Click Source Link
From source file:Main.java
public static int outChannelMaskFromInChannelMask(int channelMask) { switch (channelMask) { case AudioFormat.CHANNEL_IN_MONO: return AudioFormat.CHANNEL_OUT_MONO; case AudioFormat.CHANNEL_IN_STEREO: return AudioFormat.CHANNEL_OUT_STEREO; default:/* w ww .j a va2s . co m*/ return AudioFormat.CHANNEL_INVALID; } }