| Modifier and Type | Field and Description |
|---|---|
| public static final OutputChannels | |
| public static final int | BOTH_CHANNELS
Flag to indicate output should include both channels. |
| public static final OutputChannels | |
| public static final int | DOWNMIX_CHANNELS
Flag to indicate output is mono. |
| public static final OutputChannels | |
| public static final int | LEFT_CHANNEL
Flag to indicate output should include the left channel only. |
| private int | |
| public static final OutputChannels | |
| public static final int | RIGHT_CHANNEL
Flag to indicate output should include the right channel only. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public static OutputChannels | fromInt(int
one of the OutputChannels channel code constants. code)Creates an |
| public int | Returns: The number of output channels for this channel output type. This will be 2 for BOTH_CHANNELS only, and 1 for all other types.Retrieves the number of output channels represented by this channel output type. |
| public int | Returns: the channel code represented by this instance.Retrieves the code representing the desired output channels. |
| public int |
| BOTH | back to summary |
|---|---|
| public static final OutputChannels BOTH | |
| BOTH_CHANNELS | back to summary |
|---|---|
| public static final int BOTH_CHANNELS Flag to indicate output should include both channels. | |
| DOWNMIX | back to summary |
|---|---|
| public static final OutputChannels DOWNMIX | |
| DOWNMIX_CHANNELS | back to summary |
|---|---|
| public static final int DOWNMIX_CHANNELS Flag to indicate output is mono. | |
| LEFT | back to summary |
|---|---|
| public static final OutputChannels LEFT | |
| LEFT_CHANNEL | back to summary |
|---|---|
| public static final int LEFT_CHANNEL Flag to indicate output should include the left channel only. | |
| outputChannels | back to summary |
|---|---|
| private int outputChannels | |
| RIGHT | back to summary |
|---|---|
| public static final OutputChannels RIGHT | |
| RIGHT_CHANNEL | back to summary |
|---|---|
| public static final int RIGHT_CHANNEL Flag to indicate output should include the right channel only. | |
| OutputChannels | back to summary |
|---|---|
| private OutputChannels(int channels) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fromInt | back to summary |
|---|---|
| public static OutputChannels fromInt(int code) Creates an
| |
| getChannelCount | back to summary |
|---|---|
| public int getChannelCount() Retrieves the number of output channels represented by this channel output type.
| |
| getChannelsOutputCode | back to summary |
|---|---|
| public int getChannelsOutputCode() Retrieves the code representing the desired output channels. Will be one of LEFT_CHANNEL, RIGHT_CHANNEL, BOTH_CHANNELS or DOWNMIX_CHANNELS.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |