The RDK Device Settings (DS) component is a cross-platform library for controlling STB platform hardware configuration. The areas controlled by the DS component are:
- Audio output ports (volume, mute, etc.),
- Video ouptut ports (resolutions, aspect ratio, etc.),
- Video device (zoom settings)
- Display (aspect ratio, EDID data, etc.),
- Front-panel indicators,
- General platform (host) configuration,
- Note
- Each module in the Device Settings component has an initialization function and a termination function. Clients of the HAL API are required to call the initialization function first before using any other APIs from the module. If the initialization function is not yet called, all HAL API invocations shall return dsERR_INVALID_STATE. If an API is not supported on a platform, the implementation shall return dsERR_OPERATION_NOT_SUPPORTED. Otherwise, the API shall return dsERR_NONE upon success, or return the most suitable error code. Vendors implementing HAL APIs are allowed to add to the dsError_t enumerations, but should only do so with discretion.