Commit c132248c authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#936] Try to decode using 1280 samples

parent 8811d406
......@@ -129,7 +129,7 @@ class Speex : public AudioCodec{
speex_preprocess_run(_preprocess_state, src);
printf("Codec::codecEncode() nbBytes: %i \n",size);
speex_encode_int(_speex_enc_state, src, &_speex_enc_bits);
int nbBytes = speex_bits_write(&_speex_enc_bits, (char*)dst, size);
printf("Codec::codecEncode() nbBytes: %i \n",nbBytes);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment