|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javazoom.jl.decoder.OutputChannels
public class OutputChannels
A Type-safe representation of the the supported output channel constants. This class is immutable and, hence, is thread safe.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |