|
RDK Documentation (Open Sourced RDK Components)
|
31 #define BOOST_TEST_MODULE SetAudioConfig
32 #define BOOST_TEST_MAIN
33 #include "boost/test/included/unit_test.hpp"
38 #include "videoOutputPortConfig.hpp"
54 #undef _DS_VIDEOOUTPUTPORTSETTINGS_H
55 #include "dsVideoPortSettings.h"
56 #undef _DS_VIDEORESOLUTIONSETTINGS_H
57 #include "dsVideoResolutionSettings.h"
59 BOOST_AUTO_TEST_CASE(test_AudioOutputPort_set_Methods)
109 BOOST_AUTO_TEST_CASE(SetAudioConfig_InvalidNames)
162 BOOST_AUTO_TEST_CASE(testDummy)
static const AudioEncoding & getInstance(int id)
This function gets an AudioEncoding instance against the id parameter, only if the id passed is valid...
Class extending enumerable to implement the videoooutputport interface.
static const int kSurround
Indicates audio mode of type surround.
void setLevel(const float level)
This API is used to set the audio level to be used in a given audio port.
Device Settings HAL error codes.
static const AudioCompression & getInstance(int id)
This function gets an instance of AudioCompression against the specified id, only if the id passed is...
Device Settings HAL utilities.
Class extending Enumerable to implement the audiooutputport interface.
This file defines AudioStereoMode class for managing audio mode types.
static const AudioStereoMode & getInstance(int id)
This function gets an instance of AudioStereoMode against the specified id, only if the id passed is ...
It contains class and structure refrenced by the videoResolution.cpp file.
static const int kMedium
Indicates medium audio compression.
void setMuted(const bool mute)
This API is used to mute/unmute the audio. It throws an IllegalArgumentException if audio could not b...
void setEncoding(const int encoding)
This API is used to set the Encoding method in a given audio port.
void setLoopThru(const bool loopThru)
This API is used to set the audio port to do loop thro.
static const int kAC3
Value indicating AC3 digital audio encoding format.
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 ...
VideoOutputPort & getVideoOutputPort(const std::string &name)
This API is used to get the reference to the video output port by its name. The name of the port must...
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
It contain variables,stuctures,class and functions referenced by audiooutputportType code.
void setCompression(const int compression)
This API is used to set the compression mode in a given audio port.
It contain variables,stuctures,class and functions referenced by audiooutputport code.
void setStereoMode(const int mode, const bool toPersist=true)
This API is used to set the stereo mode to be used in a given audio port.If toPersist is true,...
void setDB(const float db)
This API is used to set the audio DB value to be used in a given audio port.
This file defines AudioCompression class for managing audio compression levels.
This file defines AudioEncoding class for managing audio encoding types.