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:
justinlin@chromium.org 2013-04-01 22:25:11 +00:00
parent 747c4cc96e
commit f81fad6267

View File

@ -61,7 +61,7 @@ class ACMOpus : public ACMGenericCodec {
WebRtcOpusEncInst* encoder_inst_ptr_;
WebRtcOpusDecInst* decoder_inst_ptr_;
uint16_t sample_freq_;
uint16_t bitrate_;
uint32_t bitrate_;
int channels_;
};