diff options
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r-- | code/fe310/eos/i2s.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/i2s.h b/code/fe310/eos/i2s.h index 6833948..7b267ec 100644 --- a/code/fe310/eos/i2s.h +++ b/code/fe310/eos/i2s.h @@ -7,7 +7,7 @@ typedef struct EOSABuf { uint8_t *array; } EOSABuf; -void eos_i2s_init(void); +void eos_i2s_init(uint32_t sample_rate); void eos_i2s_init_mic(uint8_t *mic_arr, uint16_t mic_arr_size, eos_evt_fptr_t mic_wm_handler, uint16_t mic_wm); void eos_i2s_init_spk(uint8_t *spk_arr, uint16_t spk_arr_size, eos_evt_fptr_t spk_wm_handler, uint16_t spk_wm); void eos_i2s_start(void); |