RDK Documentation (Open Sourced RDK Components)
|
Functions | |
static AudioOutputPortType & | device::AudioOutputPortType::getInstance (int id) |
This function is used to get the instance of the AudioOutputPortType based on the port id, only if the id passed is valid. More... | |
device::AudioOutputPortType::AudioOutputPortType (int id) | |
This is a default constructor of class AudioOutputPortType. It initializes the AudioOutputPortType instance based on the port id. If the id passed is invalid then it throws an IllegalArgumentException. More... | |
virtual | device::AudioOutputPortType::~AudioOutputPortType () |
This is a default destructor of class AudioOutputPortType. More... | |
const List< AudioCompression > | device::AudioOutputPortType::getSupportedCompressions () const |
This API is used to get the list of audio compressions supported by the audio port. More... | |
const List< AudioEncoding > | device::AudioOutputPortType::getSupportedEncodings () const |
This API is used to get the list of audio encodings supported by the audio port . More... | |
const List< AudioStereoMode > | device::AudioOutputPortType::getSupportedStereoModes () const |
This API is used to get the list of audio stereo modes supported by the audio port. More... | |
const List< AudioOutputPort > | device::AudioOutputPortType::getPorts () const |
This function is used to get the list of platform supported audio output ports. More... | |
AudioOutputPort & | device::AudioOutputPortType::getPort (int index) |
This function is used to get the AudioOutputPort instance based on the index. More... | |
void | device::AudioOutputPortType::addEncoding (const AudioEncoding &encoding) |
This function is used to add the specified encoding types to the list of supported encodings for AudioOutputPortType. More... | |
void | device::AudioOutputPortType::addCompression (const AudioCompression &compression) |
This function is used to add the specified compression types to the list of supported compressions for AudioOutputPortType. More... | |
void | device::AudioOutputPortType::addStereoMode (const AudioStereoMode &stereoMode) |
This function is used to add the specified stereoMode types to the list of supported stereo modes for AudioOutputPortType. More... | |
void | device::AudioOutputPortType::addPort (const AudioOutputPort &port) |
This function is used to add the specified audio port to the list of supported audio ports. More... | |
bool | device::AudioOutputPortType::isModeSupported (int newMode) |
This function is used to find out if requested Audio mode is supported by Platform. More... | |
|
static |
This function is used to get the instance of the AudioOutputPortType based on the port id, only if the id passed is valid.
[in] | id | Port id |
Definition at line 90 of file audioOutputPortType.cpp.
device::AudioOutputPortType::AudioOutputPortType | ( | int | id | ) |
This is a default constructor of class AudioOutputPortType. It initializes the AudioOutputPortType instance based on the port id. If the id passed is invalid then it throws an IllegalArgumentException.
[in] | id | Port id |
Definition at line 109 of file audioOutputPortType.cpp.
|
virtual |
This is a default destructor of class AudioOutputPortType.
Definition at line 127 of file audioOutputPortType.cpp.
const List< AudioCompression > device::AudioOutputPortType::getSupportedCompressions | ( | ) | const |
This API is used to get the list of audio compressions supported by the audio port.
Definition at line 138 of file audioOutputPortType.cpp.
const List< AudioEncoding > device::AudioOutputPortType::getSupportedEncodings | ( | ) | const |
This API is used to get the list of audio encodings supported by the audio port .
Definition at line 150 of file audioOutputPortType.cpp.
const List< AudioStereoMode > device::AudioOutputPortType::getSupportedStereoModes | ( | ) | const |
This API is used to get the list of audio stereo modes supported by the audio port.
None |
Definition at line 164 of file audioOutputPortType.cpp.
const List< AudioOutputPort > device::AudioOutputPortType::getPorts | ( | ) | const |
This function is used to get the list of platform supported audio output ports.
Definition at line 176 of file audioOutputPortType.cpp.
AudioOutputPort & device::AudioOutputPortType::getPort | ( | int | index | ) |
This function is used to get the AudioOutputPort instance based on the index.
[in] | index | Index of the audio output port. |
Definition at line 189 of file audioOutputPortType.cpp.
void device::AudioOutputPortType::addEncoding | ( | const AudioEncoding & | encoding | ) |
This function is used to add the specified encoding types to the list of supported encodings for AudioOutputPortType.
[in] | encoding | Type of encoding used in the audio output port type. |
Definition at line 208 of file audioOutputPortType.cpp.
void device::AudioOutputPortType::addCompression | ( | const AudioCompression & | compression | ) |
This function is used to add the specified compression types to the list of supported compressions for AudioOutputPortType.
[in] | compression | Type of compression used in the audio output port type. |
Definition at line 223 of file audioOutputPortType.cpp.
void device::AudioOutputPortType::addStereoMode | ( | const AudioStereoMode & | stereoMode | ) |
This function is used to add the specified stereoMode types to the list of supported stereo modes for AudioOutputPortType.
[in] | stereoMode | Type of stereoMode used in the audio output port type. |
Definition at line 238 of file audioOutputPortType.cpp.
void device::AudioOutputPortType::addPort | ( | const AudioOutputPort & | port | ) |
This function is used to add the specified audio port to the list of supported audio ports.
[in] | port | Indicates the port to be added to the list of supported audio portsi. |
Definition at line 252 of file audioOutputPortType.cpp.
bool device::AudioOutputPortType::isModeSupported | ( | int | newMode | ) |
This function is used to find out if requested Audio mode is supported by Platform.
[in] | newMode | Indicates the requested Audio mode to be validated against supported Audio modes. |
Definition at line 265 of file audioOutputPortType.cpp.