RDK Documentation (Open Sourced RDK Components)
|
This contains implementation of AudioEncoding class methods, support functions and variable assignments to manage the audio encoding types.
Functions | |
static const AudioEncoding & | device::AudioEncoding::getInstance (int id) |
This function gets an AudioEncoding instance against the id parameter, only if the id passed is valid. More... | |
static const AudioEncoding & | device::AudioEncoding::getInstance (const std::string &name) |
This function gets an AudioEncoding instance against the specified name, only if the name passed is valid. More... | |
device::AudioEncoding::AudioEncoding (int id) | |
This function is the default constructor for AudioEncoding. It initializes the instance with the id passed as input. If the id parameter is invalid then it throws an IllegalArgumentException. More... | |
virtual | device::AudioEncoding::~AudioEncoding () |
This function is the default destructor of AudioEncoding class. More... | |
|
static |
This function gets an AudioEncoding instance against the id parameter, only if the id passed is valid.
[in] | id | Indicates the id against which the AudioEncoding instance is required. The id is used to identify the audio encoding types. |
Definition at line 82 of file audioEncoding.cpp.
|
static |
This function gets an AudioEncoding instance against the specified name, only if the name passed is valid.
[in] | name | Indicates the name against which the AudioEncoding instance is required and it is also used to identify the audio encoding types. |
Definition at line 103 of file audioEncoding.cpp.
device::AudioEncoding::AudioEncoding | ( | int | id | ) |
This function is the default constructor for AudioEncoding. It initializes the instance with the id passed as input. If the id parameter is invalid then it throws an IllegalArgumentException.
[in] | id | Indicates the audio encoding type.
|
Definition at line 130 of file audioEncoding.cpp.
|
virtual |
This function is the default destructor of AudioEncoding class.
Definition at line 150 of file audioEncoding.cpp.