diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-07 17:17:21 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-07 17:17:21 +0100 |
commit | 2e6facf66ee3d6aa37f2fb41096b1763261506a7 (patch) | |
tree | 61ecbe97cb53f1371c655b8564cc269bffd07ce1 /code/fe310/eos/i2s.h | |
parent | 040f4333678f46f3558e604014d460076244af6b (diff) |
eos evtq flags refactor; net buf flags refator for all modules
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r-- | code/fe310/eos/i2s.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/i2s.h b/code/fe310/eos/i2s.h index 8ae7d98..af91dd3 100644 --- a/code/fe310/eos/i2s.h +++ b/code/fe310/eos/i2s.h @@ -16,14 +16,14 @@ void eos_i2s_init(void); void eos_i2s_start(uint32_t sample_rate, unsigned char fmt); void eos_i2s_stop(void); 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_handler(eos_i2s_fptr_t wm_handler, uint8_t flags); void eos_i2s_mic_set_wm(uint16_t wm); uint16_t eos_i2s_mic_len(void); uint16_t eos_i2s_mic_read(uint8_t *sample, uint16_t ssize); int eos_i2s_mic_pop8(uint8_t *sample); int eos_i2s_mic_pop16(uint16_t *sample); void eos_i2s_spk_init(uint8_t *mic_arr, uint16_t mic_arr_size); -void eos_i2s_spk_set_handler(eos_i2s_fptr_t wm_handler); +void eos_i2s_spk_set_handler(eos_i2s_fptr_t wm_handler, uint8_t flags); void eos_i2s_spk_set_wm(uint16_t wm); uint16_t eos_i2s_spk_len(void); uint16_t eos_i2s_spk_write(uint8_t *sample, uint16_t ssize); |