public class OutputChannels
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static OutputChannels |
BOTH |
static int |
BOTH_CHANNELS
Flag to indicate output should include both channels.
|
static OutputChannels |
DOWNMIX |
static int |
DOWNMIX_CHANNELS
Flag to indicate output is mono.
|
static OutputChannels |
LEFT |
static int |
LEFT_CHANNEL
Flag to indicate output should include the left channel only.
|
static OutputChannels |
RIGHT |
static int |
RIGHT_CHANNEL
Flag to indicate output should include the right channel only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static OutputChannels |
fromInt(int code)
Creates an
OutputChannels instance
corresponding to the given channel code. |
int |
getChannelCount()
Retrieves the number of output channels represented
by this channel output type.
|
int |
getChannelsOutputCode()
Retrieves the code representing the desired output channels.
|
int |
hashCode() |
public static final int BOTH_CHANNELS
public static final int LEFT_CHANNEL
public static final int RIGHT_CHANNEL
public static final int DOWNMIX_CHANNELS
public static final OutputChannels LEFT
public static final OutputChannels RIGHT
public static final OutputChannels BOTH
public static final OutputChannels DOWNMIX
public static OutputChannels fromInt(int code)
OutputChannels
instance
corresponding to the given channel code.code
- one of the OutputChannels channel code constants.java.lang.IllegalArgumentException
- if code is not a valid
channel code.public int getChannelsOutputCode()
public int getChannelCount()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object