removed OPUS_EXPECTED_PACKET_LOSS_PERC because it seems not to be used in the CELT decoder (just for SILK)
This commit is contained in:
parent
31f837d5cc
commit
b69e8a3028
2 changed files with 0 additions and 11 deletions
|
@ -115,9 +115,6 @@ LED bar: lbr
|
||||||
// low complexity CELT encoder (if defined)
|
// low complexity CELT encoder (if defined)
|
||||||
#define USE_LOW_COMPLEXITY_CELT_ENC
|
#define USE_LOW_COMPLEXITY_CELT_ENC
|
||||||
|
|
||||||
// percentage of expected packet loss in the OPUS encoder
|
|
||||||
#define OPUS_EXPECTED_PACKET_LOSS_PERC 50
|
|
||||||
|
|
||||||
// define the minimum allowed number of coded bytes for CELT (the encoder
|
// define the minimum allowed number of coded bytes for CELT (the encoder
|
||||||
// gets in trouble if the value is too low)
|
// gets in trouble if the value is too low)
|
||||||
#define CELT_MINIMUM_NUM_BYTES 10
|
#define CELT_MINIMUM_NUM_BYTES 10
|
||||||
|
|
|
@ -251,10 +251,6 @@ CServer::CServer ( const int iNewNumChan,
|
||||||
opus_custom_encoder_ctl ( OpusEncoderMono[i],
|
opus_custom_encoder_ctl ( OpusEncoderMono[i],
|
||||||
OPUS_SET_VBR ( 0 ) );
|
OPUS_SET_VBR ( 0 ) );
|
||||||
|
|
||||||
// we expect packet loss, tell the encoder about it
|
|
||||||
opus_custom_encoder_ctl ( OpusEncoderMono[i],
|
|
||||||
OPUS_SET_PACKET_LOSS_PERC ( OPUS_EXPECTED_PACKET_LOSS_PERC ) );
|
|
||||||
|
|
||||||
// we want as low delay as possible
|
// we want as low delay as possible
|
||||||
opus_custom_encoder_ctl ( OpusEncoderMono[i],
|
opus_custom_encoder_ctl ( OpusEncoderMono[i],
|
||||||
OPUS_SET_APPLICATION ( OPUS_APPLICATION_RESTRICTED_LOWDELAY ) );
|
OPUS_SET_APPLICATION ( OPUS_APPLICATION_RESTRICTED_LOWDELAY ) );
|
||||||
|
@ -290,10 +286,6 @@ CServer::CServer ( const int iNewNumChan,
|
||||||
opus_custom_encoder_ctl ( OpusEncoderStereo[i],
|
opus_custom_encoder_ctl ( OpusEncoderStereo[i],
|
||||||
OPUS_SET_VBR ( 0 ) );
|
OPUS_SET_VBR ( 0 ) );
|
||||||
|
|
||||||
// we expect packet loss, tell the encoder about it
|
|
||||||
opus_custom_encoder_ctl ( OpusEncoderStereo[i],
|
|
||||||
OPUS_SET_PACKET_LOSS_PERC ( OPUS_EXPECTED_PACKET_LOSS_PERC ) );
|
|
||||||
|
|
||||||
// we want as low delay as possible
|
// we want as low delay as possible
|
||||||
opus_custom_encoder_ctl ( OpusEncoderStereo[i],
|
opus_custom_encoder_ctl ( OpusEncoderStereo[i],
|
||||||
OPUS_SET_APPLICATION ( OPUS_APPLICATION_RESTRICTED_LOWDELAY ) );
|
OPUS_SET_APPLICATION ( OPUS_APPLICATION_RESTRICTED_LOWDELAY ) );
|
||||||
|
|
Loading…
Reference in a new issue