forked from RT-Thread/rt-thread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DeviceDrivers] Add audio.h header file.
- Loading branch information
1 parent
ada2c7a
commit 8043186
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |