|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MpegAudioControl
This interface is a Control for retrieving 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, or -1 if the Audio Layer is not available. |
int |
getChannelLayout()
Returns the current MPEG Audio channel layout, or -1 if the channel layout is not available. |
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. |
int |
getSupportedChannelLayouts()
Returns the audio channel layout support capability. |
int |
getSupportedSamplingRates()
Returns the audio sampling rate support capability. |
boolean |
isLowFrequencyChannelSupported()
Returns the low frequency channel support capability. |
boolean |
isMultilingualModeSupported()
Returns the multilingual mode support capability. |
Methods inherited from interface javax.media.Control |
---|
getControlComponent |
Field Detail |
---|
static final int LAYER_1
static final int LAYER_2
static final int LAYER_3
static final int SAMPLING_RATE_16
static final int SAMPLING_RATE_22_05
static final int SAMPLING_RATE_24
static final int SAMPLING_RATE_32
static final int SAMPLING_RATE_44_1
static final int SAMPLING_RATE_48
static final int SINGLE_CHANNEL
static final int TWO_CHANNELS_STEREO
static final int TWO_CHANNELS_DUAL
static final int THREE_CHANNELS_2_1
static final int THREE_CHANNELS_3_0
static final int FOUR_CHANNELS_2_0_2_0
static final int FOUR_CHANNELS_2_2
static final int FOUR_CHANNELS_3_1
static final int FIVE_CHANNELS_3_0_2_0
static final int FIVE_CHANNELS_3_2
Method Detail |
---|
int getSupportedAudioLayers()
LAYER_1
,
LAYER_2
,
LAYER_3
int getSupportedSamplingRates()
SAMPLING_RATE_16
,
SAMPLING_RATE_22_05
,
SAMPLING_RATE_24
,
SAMPLING_RATE_32
,
SAMPLING_RATE_44_1
,
SAMPLING_RATE_48
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
boolean isLowFrequencyChannelSupported()
true
if low frequency channel is supported.boolean isMultilingualModeSupported()
true
if multilingual mode is supported.int getAudioLayer()
int getChannelLayout()
boolean getLowFrequencyChannel()
boolean getMultilingualMode()
true
if multilingual mode is turned on.
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |