Skip to content
Snippets Groups Projects
Commit ecd8de81 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3052] Add CELT control parameter

parent 90b37571
No related branches found
No related tags found
No related merge requests found
...@@ -94,8 +94,14 @@ class Celt : public AudioCodec ...@@ -94,8 +94,14 @@ class Celt : public AudioCodec
_dec = celt_decoder_create (_mode, _channel, &error); _dec = celt_decoder_create (_mode, _channel, &error);
celt_encoder_ctl (_enc, CELT_SET_COMPLEXITY (10)); celt_encoder_ctl (_enc, CELT_SET_COMPLEXITY (0));
celt_decoder_ctl(_dec, CELT_SET_COMPLEXITY (10)); celt_decoder_ctl(_dec, CELT_SET_COMPLEXITY (0));
celt_encoder_ctl (_enc, CELT_SET_PREDICTION(1));
celt_decoder_ctl(_dec, CELT_SET_PREDICTION(1));
celt_encoder_ctl (_enc, CELT_SET_VBR_RATE(0));
celt_decoder_ctl(_dec, CELT_SET_VBR_RATE(0));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment