List of usage examples for android.media AudioFormat CHANNEL_OUT_5POINT1
int CHANNEL_OUT_5POINT1
To view the source code for android.media AudioFormat CHANNEL_OUT_5POINT1.
Click Source Link
From source file:Main.java
public static int getOutFormat(int outChannels) { switch (outChannels) { case 1:/*from www . j a v a 2 s. c o m*/ return AudioFormat.CHANNEL_OUT_MONO; case 2: return AudioFormat.CHANNEL_OUT_STEREO; case 4: return AudioFormat.CHANNEL_OUT_QUAD; case 6: return AudioFormat.CHANNEL_OUT_5POINT1; case 8: return AudioFormat.CHANNEL_OUT_7POINT1; default: throw new IllegalArgumentException("illegal number of output channels: " + outChannels); } }