[DeviceDrivers] Add audio.h header file.

This commit is contained in:
Bernard Xiong 2016-04-05 11:10:08 +08:00
parent ada2c7a3f5
commit 8043186020
1 changed files with 14 additions and 0 deletions

View File

@ -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