diff options
Diffstat (limited to 'modules/audio_coding/main/acm2/acm_ilbc.h')
-rw-r--r-- | modules/audio_coding/main/acm2/acm_ilbc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/audio_coding/main/acm2/acm_ilbc.h b/modules/audio_coding/main/acm2/acm_ilbc.h index fd6e8537..714c9004 100644 --- a/modules/audio_coding/main/acm2/acm_ilbc.h +++ b/modules/audio_coding/main/acm2/acm_ilbc.h @@ -29,14 +29,18 @@ class ACMILBC : public ACMGenericCodec { // for FEC ACMGenericCodec* CreateInstance(void); - int16_t InternalEncode(uint8_t* bitstream, int16_t* bitstream_len_byte); + int16_t InternalEncode(uint8_t* bitstream, + int16_t* bitstream_len_byte) OVERRIDE + EXCLUSIVE_LOCKS_REQUIRED(codec_wrapper_lock_); int16_t InternalInitEncoder(WebRtcACMCodecParams* codec_params); protected: - int16_t SetBitRateSafe(const int32_t rate); + int16_t SetBitRateSafe(const int32_t rate) OVERRIDE + EXCLUSIVE_LOCKS_REQUIRED(codec_wrapper_lock_); - void DestructEncoderSafe(); + void DestructEncoderSafe() OVERRIDE + EXCLUSIVE_LOCKS_REQUIRED(codec_wrapper_lock_); int16_t InternalCreateEncoder(); |