RDK Documentation (Open Sourced RDK Components)
|
Functions | |
static AudioOutputPort & | device::AudioOutputPort::getInstance (int id) |
This API is used to get the instance of the audio output port based on the port id returned by the getsupported audiooutput port. More... | |
static AudioOutputPort & | device::AudioOutputPort::getInstance (const std::string &name) |
This API is used to get the instance of the audio output port based on the port name returned by the getsupported audiooutput port. More... | |
device::AudioOutputPort::AudioOutputPort (const int type, const int index, const int id) | |
This function is a default constructor for AudioOutputPort. It initialises the data members of AudioOutputPort instance with the parameters passed. It also gets the handle for the type of Audio port requested and updates the audio compression technique, type of encoding, stereo mode, audio gain, audio level, optimal audio level, maximum and minimum DB that is supported and current audio DB. More... | |
virtual | device::AudioOutputPort::~AudioOutputPort () |
This is a default destructor of class AudioOutputPort. More... | |
dsError_t | device::AudioOutputPort::reInitializeAudioOutputPort () |
This API is used to reInitialize AudioOutputPort in case when Constructor miss out the Audio output port. More... | |
const AudioOutputPortType & | device::AudioOutputPort::getType () const |
This API is used to get the type of the audio output port. The type of audio output port represent the general capabilities of the port. More... | |
const List< AudioEncoding > | device::AudioOutputPort::getSupportedEncodings () const |
This API is used to get the list of audio encodings supported by the port. More... | |
const List< AudioCompression > | device::AudioOutputPort::getSupportedCompressions () const |
This API is used to get the list of audio compressions supported by the port. More... | |
const List< AudioStereoMode > | device::AudioOutputPort::getSupportedStereoModes () const |
const AudioEncoding & | device::AudioOutputPort::getEncoding () const |
This API is used to get the current encoding of the output port. More... | |
const AudioStereoMode & | device::AudioOutputPort::getStereoMode (bool usePersist=false) |
This API is used to get the current stereo mode of the output port. More... | |
dsError_t | device::AudioOutputPort::setEnablePort (bool enabled) |
This API is used to enable and disable the Audio output port. More... | |
void | device::AudioOutputPort::enable () |
This API is used to enable the Audio output port. More... | |
void | device::VideoOutputPort::disable () |
This API is used to disable the Audio output port. More... | |
void | device::AudioOutputPort::disable () |
bool | device::AudioOutputPort::getEnablePersist () const |
void | device::AudioOutputPort::setEnablePersist (bool isEnabled) |
bool | device::AudioOutputPort::getStereoAuto () |
This API is used to get the current auto mode. More... | |
float | device::AudioOutputPort::getGain () const |
This API will get the current Gain for the given audio output port. More... | |
float | device::AudioOutputPort::getDB () const |
This API will get the current Decibel value for the given Audio port. More... | |
float | device::AudioOutputPort::getMaxDB () const |
This API is used to get the current Maximum decibel that Audio output port can support. More... | |
float | device::AudioOutputPort::getMinDB () const |
This API is used to get the current minimum decibel that Audio output port can support. More... | |
float | device::AudioOutputPort::getOptimalLevel () const |
This API is used to get the current optimal level value for audio output port. More... | |
bool | device::AudioOutputPort::getAudioDelay (uint32_t &audioDelayMs) const |
This API is used to get the current audio delay in milliseconds for audio output port. More... | |
bool | device::AudioOutputPort::getAudioDelayOffset (uint32_t &audioDelayOffsetMs) const |
This API is used to get the current audio delay offset in milliseconds for audio output port. More... | |
float | device::AudioOutputPort::getLevel () const |
This API is used to get the current audio level for the given audio output port. More... | |
bool | device::AudioOutputPort::isLoopThru () const |
This API is used to check whether the given audio port is configured for loop thro'. More... | |
bool | device::AudioOutputPort::isMuted () const |
This API is used to check whether the audio is muted or not. More... | |
bool | device::AudioOutputPort::isEnabled () const |
This API is used to check whether the audio is enabled or not. More... | |
bool | device::AudioOutputPort::isConnected () const |
This API is used to check whether the audio output port is connected to a sink device or not. More... | |
void | device::AudioOutputPort::setEncoding (const int encoding) |
This API is used to set the Encoding method in a given audio port. More... | |
void | device::AudioOutputPort::setEncoding (const std::string &encoding) |
This API is used to set the Encoding method in a given audio port. More... | |
void | device::AudioOutputPort::setCompression (const int compression) |
This API is used to set the compression mode in a given audio port. More... | |
void | device::AudioOutputPort::setDialogEnhancement (const int level) |
This API is used to set the compression mode in a given audio port. More... | |
void | device::AudioOutputPort::setDolbyVolumeMode (const bool mode) |
This API is used to set the compression mode in a given audio port. More... | |
void | device::AudioOutputPort::setIntelligentEqualizerMode (const int mode) |
This API is used to set the compression mode in a given audio port. More... | |
void | device::AudioOutputPort::setVolumeLeveller (const dsVolumeLeveller_t volLeveller) |
This API is used to set the volume leveller mode & amount for a given audio port. More... | |
void | device::AudioOutputPort::setBassEnhancer (const int boost) |
This API is used to adjust the Bass in a given audio port. More... | |
void | device::AudioOutputPort::enableSurroundDecoder (const bool enable) |
This API is used to enable/disable surround decoder in a given audio port. More... | |
void | device::AudioOutputPort::setDRCMode (const int mode) |
This API is used to set the Dynamic Range control mode in a given audio port. More... | |
void | device::AudioOutputPort::setSurroundVirtualizer (const dsSurroundVirtualizer_t virtualizer) |
This API is used to set the surround virtualizer mode and boost value for a given audio port. More... | |
void | device::AudioOutputPort::setMISteering (const bool enable) |
This API is used to enable/disable the Media Intelligent Steering in a given audio port. More... | |
int | device::AudioOutputPort::getCompression () const |
This API is used to get the current compression of the output port. More... | |
int | device::AudioOutputPort::getDialogEnhancement () const |
This API is used to get the current auto mode. More... | |
bool | device::AudioOutputPort::getDolbyVolumeMode () const |
This API is used to get the current auto mode. More... | |
int | device::AudioOutputPort::getIntelligentEqualizerMode () const |
dsVolumeLeveller_t | device::AudioOutputPort::getVolumeLeveller () const |
This API is used to get the current volume leveller value. More... | |
int | device::AudioOutputPort::getBassEnhancer () const |
This API is used to get the Bass Enhancer boost value. More... | |
bool | device::AudioOutputPort::isSurroundDecoderEnabled () const |
This API is used to get status of surround decoder. More... | |
int | device::AudioOutputPort::getDRCMode () const |
This API is used to get the Dynamic Range Control mode. More... | |
dsSurroundVirtualizer_t | device::AudioOutputPort::getSurroundVirtualizer () const |
This API is used to get the Surround Virtualizer Boost value. More... | |
bool | device::AudioOutputPort::getMISteering () const |
This API is used to get status of Media Intelligent Steering. More... | |
int | device::AudioOutputPort::getGraphicEqualizerMode () const |
This API is used to get the current Graphical EQ mode. More... | |
void | device::AudioOutputPort::setGraphicEqualizerMode (const int mode) |
This API is used to set the compression mode in a given audio port. More... | |
const std::string | device::AudioOutputPort::getMS12AudioProfile () const |
This API is used to get the current MS12 Audio profile. More... | |
void | device::AudioOutputPort::setMS12AudioProfile (std::string profile) |
This API is used to set MS12 Audio Profile. More... | |
std::vector< std::string > | device::AudioOutputPort::getMS12AudioProfileList () const |
This API is used to get the supported MS12 Audio profiles. More... | |
void | device::AudioOutputPort::setAssociatedAudioMixing (const bool mixing) |
This API is used to enable/disable Associated Audio Mixing. More... | |
void | device::AudioOutputPort::getAssociatedAudioMixing (bool *mixing) |
This API is used to get status of Associated Audio Mixing. More... | |
void | device::AudioOutputPort::setFaderControl (const int mixerBalance) |
This API is used to set the mixerbalance betweeen main and associated audio. More... | |
void | device::AudioOutputPort::getFaderControl (int *mixerBalance) |
This API is used to get the mixerbalance betweeen main and associated audio. More... | |
void | device::AudioOutputPort::setPrimaryLanguage (const std::string pLang) |
This API is used to set Primary language. More... | |
void | device::AudioOutputPort::getPrimaryLanguage (std::string &pLang) |
This API is used to get the current Primary language. More... | |
void | device::AudioOutputPort::setSecondaryLanguage (const std::string sLang) |
This API is used to set Secondary language. More... | |
void | device::AudioOutputPort::getSecondaryLanguage (std::string &sLang) |
This API is used to get the current AC4 Secondary language. More... | |
void | device::AudioOutputPort::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, the setting will persist after reboots. More... | |
void | device::AudioOutputPort::setAudioDelay (const uint32_t audioDelayMs) |
This API is used to set audio delay in milliseconds. More... | |
void | device::AudioOutputPort::setAudioDelayOffset (const uint32_t audioDelayOffsetMs) |
This API is used to set audio delay offset in milliseconds. More... | |
void | device::AudioOutputPort::setAudioAtmosOutputMode (bool enable) |
void | device::AudioOutputPort::getSinkDeviceAtmosCapability (dsATMOSCapability_t &atmosCapability) |
void | device::AudioOutputPort::getSupportedARCTypes (int *types) |
This API is used to query the supported ARC types of the connected device. More... | |
void | device::AudioOutputPort::setSAD (std::vector< int > sad_list) |
This function sets SAD(Short Audio Descriptor) to configure the best available audio format to send to the ARC device from the passed SAD list. More... | |
void | device::AudioOutputPort::enableARC (dsAudioARCTypes_t type, bool enable) |
This function enables/disables ARC/EARC and routes audio to connected device. More... | |
dsError_t | device::AudioOutputPort::enableLEConfig (const bool enable) |
This API is used to enable Loudness Equivalence *. More... | |
bool | device::AudioOutputPort::GetLEConfig () |
This API is used to check if Loudness Equivalence is enabled or not*. More... | |
void | device::AudioOutputPort::enableMS12Config (const dsMS12FEATURE_t feature, const bool enable) |
This API is used to enable MS12 features such as DAPV2 adn DE *. More... | |
void | device::AudioOutputPort::setStereoAuto (const bool autoMode, const bool toPersist=true) |
This API is used to set the stereo mode to be auto;. More... | |
void | device::AudioOutputPort::setStereoMode (const std::string &mode, const bool toPersist=true) |
This function is used to set the stereo mode for the audio port.If toPersist is true, the setting will persist after reboots. More... | |
void | device::AudioOutputPort::setDB (const float db) |
This API is used to set the audio DB value to be used in a given audio port. More... | |
void | device::AudioOutputPort::setGain (const float newGain) |
This API is used to set the audio gain to be used in a given audio port. More... | |
void | device::AudioOutputPort::setLevel (const float level) |
This API is used to set the audio level to be used in a given audio port. More... | |
void | device::AudioOutputPort::setAudioDucking (dsAudioDuckingAction_t action, dsAudioDuckingType_t, const unsigned char level) |
This API is used to set the audio level to be used in a given audio port. If output mode is Passthrough/Expert this mutes the audio. More... | |
void | device::AudioOutputPort::setLoopThru (const bool loopThru) |
This API is used to set the audio port to do loop thro. More... | |
void | device::AudioOutputPort::setMuted (const bool mute) |
This API is used to mute/unmute the audio. It throws an IllegalArgumentException if audio could not be muted/unmuted. More... | |
bool | device::AudioOutputPort::isAudioMSDecode () const |
This API is used to check whether the audio port supports Dolby MS11 Multistream Decode. More... | |
bool | device::AudioOutputPort::isAudioMS12Decode () const |
void | device::AudioOutputPort::getAudioCapabilities (int *capabilities) |
This API is used to query the Audio capabilities of the device. More... | |
void | device::AudioOutputPort::getMS12Capabilities (int *capabilities) |
This API is used to query the MS12 capabilities of the device. More... | |
void | device::AudioOutputPort::resetDialogEnhancement () |
This API is used to reset the AudioOutput in a given audio port. More... | |
void | device::AudioOutputPort::resetBassEnhancer () |
This API is used to reset the AudioOutput in a given audio port. More... | |
void | device::AudioOutputPort::resetSurroundVirtualizer () |
This API is used to reset the AudioOutput in a given audio port. More... | |
void | device::AudioOutputPort::resetVolumeLeveller () |
This API is used to reset the AudioOutput in a given audio port. More... | |
void | device::AudioOutputPort::setMS12AudioProfileSetttingsOverride (const std::string ProfileState, const std::string ProfileName, const std::string ProfileSettingsName, const std::string ProfileSettingValue) |
void | device::AudioOutputPort::getHdmiArcPortId (int *portId) |
This API is used to query the HDMI ARC Port ID. More... | |
|
static |
This API is used to get the instance of the audio output port based on the port id returned by the getsupported audiooutput port.
[in] | id | Port id |
Definition at line 83 of file audioOutputPort.cpp.
|
static |
This API is used to get the instance of the audio output port based on the port name returned by the getsupported audiooutput port.
[in] | name | Name of the port |
Definition at line 97 of file audioOutputPort.cpp.
device::AudioOutputPort::AudioOutputPort | ( | const int | type, |
const int | index, | ||
const int | id | ||
) |
This function is a default constructor for AudioOutputPort. It initialises the data members of AudioOutputPort instance with the parameters passed. It also gets the handle for the type of Audio port requested and updates the audio compression technique, type of encoding, stereo mode, audio gain, audio level, optimal audio level, maximum and minimum DB that is supported and current audio DB.
[in] | type | Type of audio output port [HDMI,SPDIF] |
[in] | index | Index of audio output port (0,1,...) |
[in] | id | Audiooutput port id. |
Definition at line 118 of file audioOutputPort.cpp.
|
virtual |
This is a default destructor of class AudioOutputPort.
Definition at line 158 of file audioOutputPort.cpp.
dsError_t device::AudioOutputPort::reInitializeAudioOutputPort | ( | ) |
This API is used to reInitialize AudioOutputPort in case when Constructor miss out the Audio output port.
Definition at line 171 of file audioOutputPort.cpp.
const AudioOutputPortType & device::AudioOutputPort::getType | ( | ) | const |
This API is used to get the type of the audio output port. The type of audio output port represent the general capabilities of the port.
Definition at line 212 of file audioOutputPort.cpp.
const List< AudioEncoding > device::AudioOutputPort::getSupportedEncodings | ( | ) | const |
This API is used to get the list of audio encodings supported by the port.
Definition at line 224 of file audioOutputPort.cpp.
const List< AudioCompression > device::AudioOutputPort::getSupportedCompressions | ( | ) | const |
This API is used to get the list of audio compressions supported by the port.
Definition at line 236 of file audioOutputPort.cpp.
const List< AudioStereoMode > device::AudioOutputPort::getSupportedStereoModes | ( | ) | const |
@breif This API is used to get the list of audio stereo modes supported by the port.
Definition at line 248 of file audioOutputPort.cpp.
const AudioEncoding & device::AudioOutputPort::getEncoding | ( | ) | const |
This API is used to get the current encoding of the output port.
Definition at line 260 of file audioOutputPort.cpp.
const AudioStereoMode & device::AudioOutputPort::getStereoMode | ( | bool | usePersist = false | ) |
This API is used to get the current stereo mode of the output port.
Definition at line 273 of file audioOutputPort.cpp.
dsError_t device::AudioOutputPort::setEnablePort | ( | bool | enabled | ) |
This API is used to enable and disable the Audio output port.
Definition at line 289 of file audioOutputPort.cpp.
void device::AudioOutputPort::enable | ( | ) |
This API is used to enable the Audio output port.
Definition at line 304 of file audioOutputPort.cpp.
void device::VideoOutputPort::disable | ( | ) |
This API is used to disable the Audio output port.
This API is used to disable the video output port.
Definition at line 567 of file videoOutputPort.cpp.
bool device::AudioOutputPort::getStereoAuto | ( | ) |
This API is used to get the current auto mode.
Definition at line 372 of file audioOutputPort.cpp.
float device::AudioOutputPort::getGain | ( | ) | const |
This API will get the current Gain for the given audio output port.
Definition at line 386 of file audioOutputPort.cpp.
float device::AudioOutputPort::getDB | ( | ) | const |
This API will get the current Decibel value for the given Audio port.
Definition at line 408 of file audioOutputPort.cpp.
float device::AudioOutputPort::getMaxDB | ( | ) | const |
This API is used to get the current Maximum decibel that Audio output port can support.
Definition at line 420 of file audioOutputPort.cpp.
float device::AudioOutputPort::getMinDB | ( | ) | const |
This API is used to get the current minimum decibel that Audio output port can support.
Definition at line 432 of file audioOutputPort.cpp.
float device::AudioOutputPort::getOptimalLevel | ( | ) | const |
This API is used to get the current optimal level value for audio output port.
Definition at line 444 of file audioOutputPort.cpp.
bool device::AudioOutputPort::getAudioDelay | ( | uint32_t & | audioDelayMs | ) | const |
This API is used to get the current audio delay in milliseconds for audio output port.
Definition at line 455 of file audioOutputPort.cpp.
bool device::AudioOutputPort::getAudioDelayOffset | ( | uint32_t & | audioDelayOffsetMs | ) | const |
This API is used to get the current audio delay offset in milliseconds for audio output port.
Definition at line 473 of file audioOutputPort.cpp.
float device::AudioOutputPort::getLevel | ( | ) | const |
This API is used to get the current audio level for the given audio output port.
Definition at line 492 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isLoopThru | ( | ) | const |
This API is used to check whether the given audio port is configured for loop thro'.
1 | when output is loop thru |
0 | When output is not loop thru |
Definition at line 514 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isMuted | ( | ) | const |
This API is used to check whether the audio is muted or not.
1 | when output is muted |
0 | When output is not muted |
Definition at line 530 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isEnabled | ( | ) | const |
This API is used to check whether the audio is enabled or not.
1 | when output is enabled |
0 | When output is disbaled |
Definition at line 549 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isConnected | ( | ) | const |
This API is used to check whether the audio output port is connected to a sink device or not.
Optical/SPDIF port or any analog port is considered "Always connected". HDMI port depends on actual connectivity.
1 | when output is connected |
0 | When output is not connected |
Definition at line 572 of file audioOutputPort.cpp.
void device::AudioOutputPort::setEncoding | ( | const int | newEncoding | ) |
This API is used to set the Encoding method in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception".
[in] | newEncoding | Type of Encoding method for the given Audio Output port. |
Definition at line 608 of file audioOutputPort.cpp.
void device::AudioOutputPort::setEncoding | ( | const std::string & | newEncoding | ) |
This API is used to set the Encoding method in a given audio port.
[in] | newEncoding | Type of Encoding method for the given Audio Output port. |
Definition at line 631 of file audioOutputPort.cpp.
void device::AudioOutputPort::setCompression | ( | const int | newCompression | ) |
This API is used to set the compression mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newCompression | Type of Compression mode for the given audio Output port. |
Definition at line 648 of file audioOutputPort.cpp.
void device::AudioOutputPort::setDialogEnhancement | ( | const int | level | ) |
This API is used to set the compression mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newCompression | Type of Compression mode for the given audio Output port. |
Definition at line 669 of file audioOutputPort.cpp.
void device::AudioOutputPort::setDolbyVolumeMode | ( | const bool | mode | ) |
This API is used to set the compression mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newCompression | Type of Compression mode for the given audio Output port. |
Definition at line 692 of file audioOutputPort.cpp.
void device::AudioOutputPort::setIntelligentEqualizerMode | ( | const int | level | ) |
This API is used to set the compression mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newCompression | Type of Compression mode for the given audio Output port. |
Definition at line 715 of file audioOutputPort.cpp.
void device::AudioOutputPort::setVolumeLeveller | ( | const dsVolumeLeveller_t | volLeveller | ) |
This API is used to set the volume leveller mode & amount for a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | dsVolumeLeveller_t | for the given audio Output port. |
Definition at line 738 of file audioOutputPort.cpp.
void device::AudioOutputPort::setBassEnhancer | ( | const int | boost | ) |
This API is used to adjust the Bass in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | bass | boost value for the given audio Output port. |
Definition at line 761 of file audioOutputPort.cpp.
void device::AudioOutputPort::enableSurroundDecoder | ( | const bool | enable | ) |
This API is used to enable/disable surround decoder in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | enable/disable | surround decoder for the given audio Output port. |
Definition at line 784 of file audioOutputPort.cpp.
void device::AudioOutputPort::setDRCMode | ( | const int | mode | ) |
This API is used to set the Dynamic Range control mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | dynamic | range control mode for the given audio Output port. |
Definition at line 807 of file audioOutputPort.cpp.
void device::AudioOutputPort::setSurroundVirtualizer | ( | const dsSurroundVirtualizer_t | virtualizer | ) |
This API is used to set the surround virtualizer mode and boost value for a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | dsSurroundVirtualizer_t | value for the given audio Output port. |
Definition at line 830 of file audioOutputPort.cpp.
void device::AudioOutputPort::setMISteering | ( | const bool | enable | ) |
This API is used to enable/disable the Media Intelligent Steering in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | enable/disable | MI Steering for the given audio Output port. |
Definition at line 853 of file audioOutputPort.cpp.
int device::AudioOutputPort::getCompression | ( | ) | const |
This API is used to get the current compression of the output port.
Definition at line 871 of file audioOutputPort.cpp.
const int device::AudioOutputPort::getDialogEnhancement | ( | ) | const |
This API is used to get the current auto mode.
Definition at line 891 of file audioOutputPort.cpp.
bool device::AudioOutputPort::getDolbyVolumeMode | ( | ) | const |
This API is used to get the current auto mode.
Definition at line 911 of file audioOutputPort.cpp.
dsVolumeLeveller_t device::AudioOutputPort::getVolumeLeveller | ( | ) | const |
This API is used to get the current volume leveller value.
Definition at line 952 of file audioOutputPort.cpp.
int device::AudioOutputPort::getBassEnhancer | ( | ) | const |
This API is used to get the Bass Enhancer boost value.
Definition at line 975 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isSurroundDecoderEnabled | ( | ) | const |
This API is used to get status of surround decoder.
Definition at line 995 of file audioOutputPort.cpp.
int device::AudioOutputPort::getDRCMode | ( | ) | const |
This API is used to get the Dynamic Range Control mode.
Definition at line 1015 of file audioOutputPort.cpp.
dsSurroundVirtualizer_t device::AudioOutputPort::getSurroundVirtualizer | ( | ) | const |
This API is used to get the Surround Virtualizer Boost value.
Definition at line 1035 of file audioOutputPort.cpp.
bool device::AudioOutputPort::getMISteering | ( | ) | const |
This API is used to get status of Media Intelligent Steering.
Definition at line 1057 of file audioOutputPort.cpp.
int device::AudioOutputPort::getGraphicEqualizerMode | ( | ) | const |
This API is used to get the current Graphical EQ mode.
Definition at line 1078 of file audioOutputPort.cpp.
void device::AudioOutputPort::setGraphicEqualizerMode | ( | const int | mode | ) |
This API is used to set the compression mode in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | New | graphic EQ mode for the given audio Output port. |
Definition at line 1105 of file audioOutputPort.cpp.
const std::string device::AudioOutputPort::getMS12AudioProfile | ( | ) | const |
This API is used to get the current MS12 Audio profile.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1125 of file audioOutputPort.cpp.
void device::AudioOutputPort::setMS12AudioProfile | ( | std::string | profile | ) |
This API is used to set MS12 Audio Profile.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[string] | Profile name to be set |
Definition at line 1154 of file audioOutputPort.cpp.
std::vector< std::string > device::AudioOutputPort::getMS12AudioProfileList | ( | ) | const |
This API is used to get the supported MS12 Audio profiles.
Definition at line 1173 of file audioOutputPort.cpp.
void device::AudioOutputPort::setAssociatedAudioMixing | ( | const bool | mixing | ) |
This API is used to enable/disable Associated Audio Mixing.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | mixing | enable/disable Associated Audio Mixing. |
Definition at line 1215 of file audioOutputPort.cpp.
void device::AudioOutputPort::getAssociatedAudioMixing | ( | bool * | mixing | ) |
This API is used to get status of Associated Audio Mixing.
Definition at line 1235 of file audioOutputPort.cpp.
void device::AudioOutputPort::setFaderControl | ( | const int | mixerBalance | ) |
This API is used to set the mixerbalance betweeen main and associated audio.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | New | mixerbalance betweeen main and associated audio. |
Definition at line 1267 of file audioOutputPort.cpp.
void device::AudioOutputPort::getFaderControl | ( | int * | mixerBalance | ) |
This API is used to get the mixerbalance betweeen main and associated audio.
Definition at line 1285 of file audioOutputPort.cpp.
void device::AudioOutputPort::setPrimaryLanguage | ( | const std::string | pLang | ) |
This API is used to set Primary language.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[string] | Primary language to be set |
Definition at line 1317 of file audioOutputPort.cpp.
void device::AudioOutputPort::getPrimaryLanguage | ( | std::string & | pLang | ) |
This API is used to get the current Primary language.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1339 of file audioOutputPort.cpp.
void device::AudioOutputPort::setSecondaryLanguage | ( | const std::string | sLang | ) |
This API is used to set Secondary language.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[string] | Secondary language to be set |
Definition at line 1364 of file audioOutputPort.cpp.
void device::AudioOutputPort::getSecondaryLanguage | ( | std::string & | sLang | ) |
This API is used to get the current AC4 Secondary language.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1386 of file audioOutputPort.cpp.
void device::AudioOutputPort::setStereoMode | ( | const int | newMode, |
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, the setting will persist after reboots.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newMode | Type of stereo mode to be used for the given audio Output port. |
Definition at line 1412 of file audioOutputPort.cpp.
void device::AudioOutputPort::setAudioDelay | ( | const uint32_t | audioDelayMs | ) |
This API is used to set audio delay in milliseconds.
[in] | audioDelayMs | Number of milliseconds to delay the audio (0 to +250) |
Definition at line 1436 of file audioOutputPort.cpp.
void device::AudioOutputPort::setAudioDelayOffset | ( | const uint32_t | audioDelayOffsetMs | ) |
This API is used to set audio delay offset in milliseconds.
[in] | audioDelayOffsetMs | Number of milliseconds to offset(additional delay) of the audio delay(0 to +200) |
Definition at line 1473 of file audioOutputPort.cpp.
void device::AudioOutputPort::setAudioAtmosOutputMode | ( | bool | enable | ) |
[in] | Enable/Disable | always Atmos output mode |
Definition at line 1505 of file audioOutputPort.cpp.
void device::AudioOutputPort::getSinkDeviceAtmosCapability | ( | dsATMOSCapability_t & | atmosCapability | ) |
[in/out] | Sink device ATMOS capability |
Definition at line 1525 of file audioOutputPort.cpp.
void device::AudioOutputPort::getSupportedARCTypes | ( | int * | types | ) |
This API is used to query the supported ARC types of the connected device.
Definition at line 1548 of file audioOutputPort.cpp.
void device::AudioOutputPort::setSAD | ( | std::vector< int > | sad_list | ) |
This function sets SAD(Short Audio Descriptor) to configure the best available audio format to send to the ARC device from the passed SAD list.
[in] | sad_list | List of Short Audio Descriptors from the ARC device |
Definition at line 1565 of file audioOutputPort.cpp.
void device::AudioOutputPort::enableARC | ( | dsAudioARCTypes_t | type, |
bool | enable | ||
) |
This function enables/disables ARC/EARC and routes audio to connected device.
[in] | type | ARC/eARC |
[in] | enable | true/false to control feature |
Definition at line 1592 of file audioOutputPort.cpp.
dsError_t device::AudioOutputPort::enableLEConfig | ( | const bool | enable | ) |
This API is used to enable Loudness Equivalence *.
[in] | enable | true/false to control feature. |
Definition at line 1615 of file audioOutputPort.cpp.
bool device::AudioOutputPort::GetLEConfig | ( | ) |
This API is used to check if Loudness Equivalence is enabled or not*.
Definition at line 1636 of file audioOutputPort.cpp.
void device::AudioOutputPort::enableMS12Config | ( | const dsMS12FEATURE_t | feature, |
const bool | enable | ||
) |
This API is used to enable MS12 features such as DAPV2 adn DE *.
[in] | feature | enums for feature name. |
[in] | enable | true/false to control feature. |
Definition at line 1658 of file audioOutputPort.cpp.
void device::AudioOutputPort::setStereoAuto | ( | const bool | autoMode, |
const bool | toPersist = true |
||
) |
This API is used to set the stereo mode to be auto;.
When in auto mode, the platform tries to set the audio mode to the best available. Use getStereoMode() to get the effecitve mode set by platform.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newMode | Type of stereo mode to be used for the given audio Output port. |
Definition at line 1683 of file audioOutputPort.cpp.
void device::AudioOutputPort::setStereoMode | ( | const std::string & | newMode, |
const bool | toPersist = true |
||
) |
This function is used to set the stereo mode for the audio port.If toPersist is true, the setting will persist after reboots.
[in] | newMode | Type of stereo mode to be used for the given audio Output port. |
Definition at line 1702 of file audioOutputPort.cpp.
void device::AudioOutputPort::setDB | ( | const float | newDb | ) |
This API is used to set the audio DB value to be used in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newDb | Decibel value to be used for the given output audio port |
Definition at line 1719 of file audioOutputPort.cpp.
void device::AudioOutputPort::setGain | ( | const float | newGain | ) |
This API is used to set the audio gain to be used in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newLevel | New Audio gain for a given audio output port |
Definition at line 1746 of file audioOutputPort.cpp.
void device::AudioOutputPort::setLevel | ( | const float | newLevel | ) |
This API is used to set the audio level to be used in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | newLevel | New Audio level for a given audio output port |
Definition at line 1771 of file audioOutputPort.cpp.
void device::AudioOutputPort::setAudioDucking | ( | dsAudioDuckingAction_t | action, |
dsAudioDuckingType_t | type, | ||
const unsigned char | level | ||
) |
This API is used to set the audio level to be used in a given audio port. If output mode is Passthrough/Expert this mutes the audio.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
[in] | action | action type to start or stop ducking |
[in] | type | ducking type is absolute or relative to current volume level. |
[in] | level | New Audio level for a given audio output port range [0 - 100] |
Definition at line 1798 of file audioOutputPort.cpp.
void device::AudioOutputPort::setLoopThru | ( | const bool | loopThru | ) |
This API is used to set the audio port to do loop thro.
[in] | loopThru | True when output is loopthru. Otherwise False. |
Definition at line 1822 of file audioOutputPort.cpp.
void device::AudioOutputPort::setMuted | ( | const bool | mute | ) |
This API is used to mute/unmute the audio. It throws an IllegalArgumentException if audio could not be muted/unmuted.
[in] | mute | True if audio to be muted, false otherwise. |
Definition at line 1839 of file audioOutputPort.cpp.
bool device::AudioOutputPort::isAudioMSDecode | ( | ) | const |
This API is used to check whether the audio port supports Dolby MS11 Multistream Decode.
True | when Audio ports could be configured to support Mix PCM Audio with Surround |
Fals | when Audio ports could not be configured to support Mix PCM Audio with Surround |
Definition at line 1859 of file audioOutputPort.cpp.
void device::AudioOutputPort::getAudioCapabilities | ( | int * | capabilities | ) |
This API is used to query the Audio capabilities of the device.
Definition at line 1897 of file audioOutputPort.cpp.
void device::AudioOutputPort::getMS12Capabilities | ( | int * | capabilities | ) |
This API is used to query the MS12 capabilities of the device.
Definition at line 1912 of file audioOutputPort.cpp.
void device::AudioOutputPort::resetDialogEnhancement | ( | ) |
This API is used to reset the AudioOutput in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1930 of file audioOutputPort.cpp.
void device::AudioOutputPort::resetBassEnhancer | ( | ) |
This API is used to reset the AudioOutput in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1952 of file audioOutputPort.cpp.
void device::AudioOutputPort::resetSurroundVirtualizer | ( | ) |
This API is used to reset the AudioOutput in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1974 of file audioOutputPort.cpp.
void device::AudioOutputPort::resetVolumeLeveller | ( | ) |
This API is used to reset the AudioOutput in a given audio port.
If return is not equal to dsERR_NONE, it will throw the ret to IllegalArgumentException Handler and it will pass the message as "No message for this exception" with the value of "dsERR_INVALID_PARAM" from dsError type.
Definition at line 1996 of file audioOutputPort.cpp.
void device::AudioOutputPort::getHdmiArcPortId | ( | int * | portId | ) |
This API is used to query the HDMI ARC Port ID.
Definition at line 2043 of file audioOutputPort.cpp.