diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-10-16 14:04:39 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-16 14:04:39 +0200 |
commit | f74dcae328e3650acf6b12499a55548b46117877 (patch) | |
tree | 8183b187c27ae9238c3e6ef07d5f694171bcbc4f /code/fe310/eos/i2s.h | |
parent | b7a007eb9d3548e2bcd141681a91b8a748d3ce49 (diff) |
i2s init / start fixed
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r-- | code/fe310/eos/i2s.h | 5 |
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); |