summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r--code/fe310/eos/i2s.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/code/fe310/eos/i2s.h b/code/fe310/eos/i2s.h
index 09b9228..8ae7d98 100644
--- a/code/fe310/eos/i2s.h
+++ b/code/fe310/eos/i2s.h
@@ -12,10 +12,9 @@ typedef struct EOSABuf {
typedef void (*eos_i2s_fptr_t) (unsigned char);
-void eos_i2s_init(uint32_t sample_rate);
-void eos_i2s_start(void);
+void eos_i2s_init(void);
+void eos_i2s_start(uint32_t sample_rate, unsigned char fmt);
void eos_i2s_stop(void);
-void eos_i2s_set_fmt(unsigned char fmt);
void eos_i2s_mic_init(uint8_t *mic_arr, uint16_t mic_arr_size);
void eos_i2s_mic_set_handler(eos_i2s_fptr_t wm_handler);
void eos_i2s_mic_set_wm(uint16_t wm);