|
RDK Documentation (Open Sourced RDK Components)
|
47 int main(
int argc,
char *argv[])
57 for (
size_t i = 0; i < vPorts.
size(); i++) {
58 uint32_t audioDelayMs = 0;
62 printf(
"AudioPort Name- [%s] =======================\r\n", aPort.
getName().c_str());
65 printf(
"\t MS12 MultiStreamDecode Status - [%s]\r\n",aPort.isAudioMS12Decode()?
"On" :
"Off");
68 printf(
"\t IntelligentEqualizerMode- [%d]\r\n", aPort.getIntelligentEqualizerMode());
70 printf(
"\t Bass Enhancer Boost value - [%d]\r\n",aPort.
getBassEnhancer());
72 printf(
"\t Dynamic Range Control Mode - [%s]\r\n",aPort.
getDRCMode()?
"RF" :
"Line");
74 printf(
"\t Media Intelligent Steering - [%s]\r\n",aPort.
getMISteering()?
"On" :
"Off");
78 printf(
"\t Gain - [%f]\r\n", aPort.
getGain());
79 printf(
"\t DB- [%f]\r\n", aPort.
getDB());
80 printf(
"\t LoopThru- [%s]\r\n", aPort.
isLoopThru() ?
"True" :
"False");
81 printf(
"\t Mute Status - [%s]\r\n", aPort.
isMuted()?
"On" :
"Off");
82 printf(
"\t MS11 MultiStreamDecode Status - [%s]\r\n",aPort.
isAudioMSDecode()?
"On" :
"Off");
83 printf(
"\t Loudness Equivalence - [%s]\r\n",aPort.
GetLEConfig()?
"Enabled" :
"Disabled");
84 printf(
"\t MaxDB - [%f]\r\n", aPort.
getMaxDB());
85 printf(
"\t MinDB- [%f]\r\n", aPort.
getMinDB());
87 printf(
"\t Audio Level- [%f]\r\n", aPort.
getLevel());
88 printf(
"\t Audio delay - [%lu] ms\r\n", audioDelayMs);
102 printf(
"==========================================\r\n\r\n");
int getDialogEnhancement() const
This API is used to get the current auto mode.
float getDB() const
This API will get the current Decibel value for the given Audio port.
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
dsSurroundVirtualizer_t getSurroundVirtualizer() const
This API is used to get the Surround Virtualizer Boost value.
const List< AudioStereoMode > getSupportedStereoModes() const
const List< AudioCompression > getSupportedCompressions() const
This API is used to get the list of audio compressions supported by the port.
bool getDolbyVolumeMode() const
This API is used to get the current auto mode.
float getGain() const
This API will get the current Gain for the given audio output port.
const AudioEncoding & getEncoding() const
This API is used to get the current encoding of the output port.
dsVolumeLeveller_t getVolumeLeveller() const
This API is used to get the current volume leveller value.
List< VideoOutputPort > getVideoOutputPorts()
This API is used to get the list of the video output ports supported on the device....
bool GetLEConfig()
This API is used to check if Loudness Equivalence is enabled or not*.
float getOptimalLevel() const
This API is used to get the current optimal level value for audio output port.
const AudioStereoMode & getStereoMode(bool usePersist=false)
This API is used to get the current stereo mode of the output port.
It contains class referenced by manager.cpp file.
float getLevel() const
This API is used to get the current audio level for the given audio output port.
bool isLoopThru() const
This API is used to check whether the given audio port is configured for loop thro'.
bool getMISteering() const
This API is used to get status of Media Intelligent Steering.
const std::string & getName() const
This API gets the name of the AudioOutputPort. The AudioOutputPort names can be IDLR,...
Device Settings HAL error codes.
size_t size()
This function gets the size of the container.
Device Settings HAL utilities.
Class extending Enumerable to implement the audiooutputport interface.
This file defines AudioStereoMode class for managing audio mode types.
IARM_Result_t IARM_Bus_Disconnect(void)
This API disconnect Application from IARM Bus so the application will not receive any IARM event or R...
float getMinDB() const
This API is used to get the current minimum decibel that Audio output port can support.
static void Initialize()
This API is used to initialize the Device Setting module. Each API should be called by any client of ...
It contains class and structure refrenced by the videoResolution.cpp file.
RDK IARM-Bus API Declarations.
bool isAudioMSDecode() const
This API is used to check whether the audio port supports Dolby MS11 Multistream Decode.
bool isMuted() const
This API is used to check whether the audio is muted or not.
int getBassEnhancer() const
This API is used to get the Bass Enhancer boost value.
int getDRCMode() const
This API is used to get the Dynamic Range Control mode.
bool getAudioDelay(uint32_t &audioDelayMs) const
This API is used to get the current audio delay in milliseconds for audio output port.
virtual const std::string & getName() const
This function is used to the get the data member name.
It contains class and structure refrenced by the videooutputport.cpp file.
AudioOutputPort & getAudioOutputPort()
This API is used to get the audio output port connected to the video output port. This connection is ...
static void DeInitialize()
This API is used to deinitialize the device settings module. DeInitialize() must be called to release...
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
int getGraphicEqualizerMode() const
This API is used to get the current Graphical EQ mode.
const List< AudioEncoding > getSupportedEncodings() const
This API is used to get the list of audio encodings supported by the port.
It contain variables,stuctures,class and functions referenced by audiooutputportType code.
IARM_Result_t IARM_Bus_Connect(void)
This API is used to connect application to the IARM bus daemon. After connected, the application can ...
It contain variables,stuctures,class and functions referenced by audiooutputport code.
bool isSurroundDecoderEnabled() const
This API is used to get status of surround decoder.
int getCompression() const
This API is used to get the current compression of the output port.
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.
This file defines AudioCompression class for managing audio compression levels.
float getMaxDB() const
This API is used to get the current Maximum decibel that Audio output port can support.
This file defines AudioEncoding class for managing audio encoding types.