Fix opus bitrate truncated to 16-bit int. This prevented setting bitrates higher
than 2^16kbps. Review URL: https://webrtc-codereview.appspot.com/1275004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3748 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
747c4cc96e
commit
f81fad6267
@ -61,7 +61,7 @@ class ACMOpus : public ACMGenericCodec {
|
|||||||
WebRtcOpusEncInst* encoder_inst_ptr_;
|
WebRtcOpusEncInst* encoder_inst_ptr_;
|
||||||
WebRtcOpusDecInst* decoder_inst_ptr_;
|
WebRtcOpusDecInst* decoder_inst_ptr_;
|
||||||
uint16_t sample_freq_;
|
uint16_t sample_freq_;
|
||||||
uint16_t bitrate_;
|
uint32_t bitrate_;
|
||||||
int channels_;
|
int channels_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user