Skip to content

Commit

Permalink
[DeviceDrivers] Add audio.h header file.
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardXiong committed Apr 5, 2016
1 parent ada2c7a commit 8043186
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions components/drivers/include/drivers/audio.h
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

0 comments on commit 8043186

Please sign in to comment.