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
 

Detailed Description

Device Control Commands. The macro group from hardware level, can set codec parametes including volume, EQ and 3D etc.

Macro Definition Documentation

◆ CODEC_CMD_RESET

#define CODEC_CMD_RESET   0

Reset audio device by codec

◆ CODEC_CMD_SET_VOLUME

#define CODEC_CMD_SET_VOLUME   1

Set volume by codec

◆ CODEC_CMD_GET_VOLUME

#define CODEC_CMD_GET_VOLUME   2

Get volume by codec

◆ CODEC_CMD_SAMPLERATE

#define CODEC_CMD_SAMPLERATE   3

Set sample rate by codec

◆ CODEC_CMD_EQ

#define CODEC_CMD_EQ   4

Set equalizer by codec

◆ CODEC_CMD_3D

#define CODEC_CMD_3D   5

Set 3D effect by codec