Hello,
I use BroadVoice32OpenSource.v1.2.zip to test encoding and decoding,On windows10 or 52840,
using 16bit 16Khz Continuous audio,And has been converted bin2c array.(Normal sound can be played through I2S)
Simplified code:
Reset_BV32_Encoder((struct BV32_Encoder_State*)enc_state);
Reset_BV32_Decoder((struct BV32_Decoder_State*)dec_state);
//for(int i=0;i<10000;i++) or one times
BV32_Encode((struct BV32_Bit_Stream*)enc_bs, (struct BV32_Encoder_State*)enc_state, data);
BV32_BitPack(oPackedStream, (struct BV32_Bit_Stream*)enc_bs);
//for(int i=0;i<10000;i++) or one times
BV32_BitUnPack(oPackedStream, (struct BV32_Bit_Stream*)dec_bs);
BV32_Decode((struct BV32_Bit_Stream*)dec_bs, (struct BV32_Decoder_State*)dec_state, data);
I get the result as shown in the figure.(the same on J-Link RTT Viewer log)
My question,why BV32 Encoding takes ten times as long as decoding?
thanks
audin array
No problem with audio data.


