![]() |
RT-Thread RTOS
An open source embedded real-time operating system
|
Collaboration diagram for CODEC_CMD:Macros | |
| #define | CODEC_CMD_RESET 0 |
| #define | CODEC_CMD_SET_VOLUME 1 |
| #define | CODEC_CMD_GET_VOLUME 2 |
| #define | CODEC_CMD_SAMPLERATE 3 |
| #define | CODEC_CMD_EQ 4 |
| #define | CODEC_CMD_3D 5 |
Device Control Commands. The macro group from hardware level, can set codec parametes including volume, EQ and 3D etc.
| #define CODEC_CMD_RESET 0 |
Reset audio device by codec
| #define CODEC_CMD_SET_VOLUME 1 |
Set volume by codec
| #define CODEC_CMD_GET_VOLUME 2 |
Get volume by codec
| #define CODEC_CMD_SAMPLERATE 3 |
Set sample rate by codec
| #define CODEC_CMD_EQ 4 |
Set equalizer by codec
| #define CODEC_CMD_3D 5 |
Set 3D effect by codec