Displaying 1 result from an estimated 1 matches for "encoded_buff".
Did you mean:
encoded_buf
2018 Jun 29
1
OPUS on cortex M4
...odec works.
Could somebody tell me if my approach could work?
int frame_size = 160;
opus_int16 test_data_size = frame_size*channels*sizeof(opus_int16);
opus_int32 max_data_bytes = 100;
opus_int16 test_data[test_data_size];
opus_int16 *p_test_data = test_data;
unsigned char encoded_buffer[max_data_bytes];
unsigned char *p_encoded_buffer = encoded_buffer;
opus_int16 decoded_buffer[test_data_size];
opus_int16 *p_decoded_buffer = decoded_buffer;
for(uint16_t i = 0; i < test_data_size; i++)
{
test_data[i] = 100;
}
opus_int32 encoded_size = opus_enc...