summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-02-26 02:40:21 +0100
committerUros Majstorovic <majstor@majstor.org>2020-02-26 02:40:21 +0100
commitc8808cf560401eff5465891407f290d6c41aa2c5 (patch)
treedeb40e13050e35f8602491f4afd9efc4feac4787 /code/fe310/eos/i2s.h
parent6666a131ab36b1d96a854da80524d860f9a3884b (diff)
event rename
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r--code/fe310/eos/i2s.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/fe310/eos/i2s.h b/code/fe310/eos/i2s.h
index 81d13f4..744958e 100644
--- a/code/fe310/eos/i2s.h
+++ b/code/fe310/eos/i2s.h
@@ -3,6 +3,11 @@
#define EOS_I2S_FMT_ALAW 0
#define EOS_I2S_FMT_PCM16 1
+/* should match i2s_def.h definitions */
+#define EOS_I2S_ETYPE_MIC 1
+#define EOS_I2S_ETYPE_SPK 2
+
+
typedef struct EOSABuf {
uint16_t idx_r;
uint16_t idx_w;