|
RDK Documentation (Open Sourced RDK Components)
|
49 int main(
int argc,
char *argv[])
59 printf(
"%s : <Port Type - HDMI, SPEAKER> <Port Number-0, 1, 2...> <Enable-1 or Disable-0>\r\n", argv[0]);
63 char *portType = argv[1];
64 char *portId = argv[2];
65 bool enable = (bool) atoi((
const char *)argv[3]);
68 printf(
"Sample Application: set MI Steering \r\n");
71 printf(
"Sample Application: set MI Steering is completed\r\n");
74 printf(
"Exception Caught during [%s]\r\n", argv[0]);
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
It contains class referenced by manager.cpp file.
Device Settings HAL error codes.
Device Settings HAL utilities.
Class extending Enumerable to implement the audiooutputport interface.
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...
It contains structures and class referenced by the videoOutputportTypes.cpp file.
static void Initialize()
This API is used to initialize the Device Setting module. Each API should be called by any client of ...
RDK IARM-Bus API Declarations.
AudioOutputPort & getAudioOutputPort(const std::string &name)
This API is used to get the reference to the audio output port by its name. The name of the port must...
void setMISteering(const bool enable)
This API is used to enable/disable the Media Intelligent Steering in a given audio port.
It contains class and structure refrenced by the videooutputport.cpp file.
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.
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.
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.