mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-16 04:23:04 +08:00
[DeviceDrivers] Add audio.h header file.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef AUDIO_H__
|
||||
#define AUDIO_H__
|
||||
|
||||
/* Device Control Commands */
|
||||
#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
|
||||
|
||||
#define CODEC_VOLUME_MAX (63)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user