From 6e95a5652dd18880d4225742b9cd0a2dd7a80386 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 9 Aug 2022 23:11:35 +0200 Subject: fixed phone test --- fw/fe310/test/phone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fw/fe310/test') diff --git a/fw/fe310/test/phone.c b/fw/fe310/test/phone.c index cc70549..06b24fd 100644 --- a/fw/fe310/test/phone.c +++ b/fw/fe310/test/phone.c @@ -64,7 +64,7 @@ static void cell_voice_handler(unsigned char type, unsigned char *buffer, uint16 eos_i2s_mic_set_wm(MIC_WM); eos_i2s_mic_set_handler(handle_mic); eos_i2s_spk_init(spk_arr, ABUF_SIZE); - eos_i2s_start(8000); + eos_i2s_start(8000, EOS_I2S_FMT_PCM16); break; case EOS_CELL_MTYPE_VOICE_END: -- cgit v1.2.3