RDK Documentation (Open Sourced RDK Components)
audioOutputPort.cpp File Reference

AudioOutputPort objects are instantiated by the Device Settings module upon initialization. Applications do not need to create any such objects on its own. References to these objects can be retrieved by applications via the VideoOutputPort connected to the AudioOutputPort: VideoOutputPort::getAudioOutputPort() More...

#include "audioEncoding.hpp"
#include "audioCompression.hpp"
#include "audioStereoMode.hpp"
#include "audioOutputPort.hpp"
#include "audioOutputPortType.hpp"
#include "audioOutputPortConfig.hpp"
#include "videoOutputPortConfig.hpp"
#include "videoOutputPort.hpp"
#include "illegalArgumentException.hpp"
#include "list.hpp"
#include <sstream>
#include <string>
#include <string.h>
#include <list>
#include <unistd.h>
#include "dsAudio.h"
#include "dsError.h"
#include "dslogger.h"
#include "hdmiIn.hpp"
Include dependency graph for audioOutputPort.cpp:

Go to the source code of this file.

Functions

dsError_t dsSetStereoMode (intptr_t handle, dsAudioStereoMode_t mode, bool isPersist)
 
dsError_t dsSetStereoAuto (intptr_t handle, int autoMode, bool isPersist)
 
dsError_t dsGetStereoMode (intptr_t handle, dsAudioStereoMode_t *stereoMode, bool isPersist)
 
dsError_t dsEnableAudioPort (intptr_t handle, bool enabled, const char *portName)
 
dsError_t dsGetEnablePersist (intptr_t handle, const char *portName, bool *enabled)
 
dsError_t dsSetEnablePersist (intptr_t handle, const char *portName, bool enabled)
 

Variables

const uint32_t device::audioDelayMsMax = 300
 
const uint32_t device::audioDelayOffsetMsMax = 200
 

yes

AudioOutputPort objects are instantiated by the Device Settings module upon initialization. Applications do not need to create any such objects on its own. References to these objects can be retrieved by applications via the VideoOutputPort connected to the AudioOutputPort: VideoOutputPort::getAudioOutputPort()

Definition in file audioOutputPort.cpp.