summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/audio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/audio.h b/components/drivers/include/drivers/audio.h
new file mode 100644
index 0000000000..3836ab3fd2
--- /dev/null
+++ b/components/drivers/include/drivers/audio.h
@@ -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