|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a Control for specifying the parameters for MPEG audio.
Field Summary | |
static int |
FIVE_CHANNELS_3_0_2_0
Indicates support for five channels 3-0 2-0 layout (Left, Center and Right of first program, Left and Right of second program) |
static int |
FIVE_CHANNELS_3_2
Indicates support for five channels 3-2 layout (Left, Center, Right, Left Surround and Right surround) |
static int |
FOUR_CHANNELS_2_0_2_0
Indicates support for four channels 2-0 2-0 layout (Left and Right of first program, Left and Right of second program) |
static int |
FOUR_CHANNELS_2_2
Indicates support for four channels 2-2 layout (Left, Right, Left Surround and Right Surround) |
static int |
FOUR_CHANNELS_3_1
Indicates support for four channels 3-1 layout (Left, Center, Right and single Surround) |
static int |
LAYER_1
Indicates support for audio layer 1 |
static int |
LAYER_2
Indicates support for audio layer 2 |
static int |
LAYER_3
Indicates support for audio layer 3 |
static int |
SAMPLING_RATE_16
Indicates support for 16 KHz audio sampling rate |
static int |
SAMPLING_RATE_22_05
Indicates support for 22.05 KHz audio sampling rate |
static int |
SAMPLING_RATE_24
Indicates support for 24 KHz audio sampling rate |
static int |
SAMPLING_RATE_32
Indicates support for 32 KHz audio sampling rate |
static int |
SAMPLING_RATE_44_1
Indicates support for 44.1 KHz audio sampling rate |
static int |
SAMPLING_RATE_48
Indicates support for 48 KHz audio sampling rate |
static int |
SINGLE_CHANNEL
Indicates support for single channel layout |
static int |
THREE_CHANNELS_2_1
Indicates support for three channels 2-1 layout (Left, Right and single Surround) |
static int |
THREE_CHANNELS_3_0
Indicates support for three channels 3-0 layout (Left, Center and Right) |
static int |
TWO_CHANNELS_DUAL
Indicates support for two channels dual layout |
static int |
TWO_CHANNELS_STEREO
Indicates support for two channels stereo layout |
Method Summary | |
int |
getAudioLayer()
Returns the current MPEG Audio Layer. |
int |
getChannelLayout()
Returns the current MPEG Audio channel layout. |
boolean |
getLowFrequencyChannel()
Returns true if Low Frequency Channel mode is turned on. |
boolean |
getMultilingualMode()
Returns true if Multilingual mode is turned on. |
int |
getSupportedAudioLayers()
Returns the audio layer support capability. The returned value consists of a logical OR among the relevant flags. |
int |
getSupportedChannelLayouts()
Returns the audio channel layout support capability. The returned value consists of a logical OR among the relevant flags. |
int |
getSupportedSamplingRates()
Returns the audio sampling rate support capability. The returned value consists of a logical OR among the relevant flags. |
boolean |
isLowFrequencyChannelSupported()
Returns the low freuqency channel support capability. |
boolean |
isMultilingualModeSupported()
Returns the multilingual mode support capability. |
int |
setAudioLayer(int audioLayer)
Controls the MPEG Audio Layer. |
int |
setChannelLayout(int channelLayout)
Controls the MPEG Audio channel layout. |
boolean |
setLowFrequencyChannel(boolean on)
Controls the Low Frequency Channel mode. |
boolean |
setMultilingualMode(boolean on)
Controls the Multilingual mode. |
Methods inherited from interface javax.media.Control |
getControlComponent |
Field Detail |
public static final int LAYER_1
public static final int LAYER_2
public static final int LAYER_3
public static final int SAMPLING_RATE_16
public static final int SAMPLING_RATE_22_05
public static final int SAMPLING_RATE_24
public static final int SAMPLING_RATE_32
public static final int SAMPLING_RATE_44_1
public static final int SAMPLING_RATE_48
public static final int SINGLE_CHANNEL
public static final int TWO_CHANNELS_STEREO
public static final int TWO_CHANNELS_DUAL
public static final int THREE_CHANNELS_2_1
public static final int THREE_CHANNELS_3_0
public static final int FOUR_CHANNELS_2_0_2_0
public static final int FOUR_CHANNELS_2_2
public static final int FOUR_CHANNELS_3_1
public static final int FIVE_CHANNELS_3_0_2_0
public static final int FIVE_CHANNELS_3_2
Method Detail |
public int getSupportedAudioLayers()
LAYER_1
,
LAYER_2
,
LAYER_3
public int getSupportedSamplingRates()
SAMPLING_RATE_16
,
SAMPLING_RATE_22_05
,
SAMPLING_RATE_24
,
SAMPLING_RATE_32
,
SAMPLING_RATE_44_1
,
SAMPLING_RATE_48
public int getSupportedChannelLayouts()
SINGLE_CHANNEL
,
TWO_CHANNELS_STEREO
,
TWO_CHANNELS_DUAL
,
THREE_CHANNELS_2_1
,
THREE_CHANNELS_3_0
,
FOUR_CHANNELS_2_0_2_0
,
FOUR_CHANNELS_2_2
,
FIVE_CHANNELS_3_0_2_0
,
FIVE_CHANNELS_3_2
public boolean isLowFrequencyChannelSupported()
public boolean isMultilingualModeSupported()
public int setAudioLayer(int audioLayer)
public int getAudioLayer()
public int setChannelLayout(int channelLayout)
public int getChannelLayout()
public boolean setLowFrequencyChannel(boolean on)
public boolean getLowFrequencyChannel()
public boolean setMultilingualMode(boolean on)
public boolean getMultilingualMode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |