Opus send rate overflows if over 65 kbps
The member holding the send rate for Opus had too low resolution for rates above ~65 kbps. I've added a test that checks if the average rate in a Opus test is in the right range. The test fails before my fix, and now passes. BUG=3267 R=henrik.lundin@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12579004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6344 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -47,7 +47,7 @@ class ACMOpus : public ACMGenericCodec {
|
||||
|
||||
WebRtcOpusEncInst* encoder_inst_ptr_;
|
||||
uint16_t sample_freq_;
|
||||
uint16_t bitrate_;
|
||||
int32_t bitrate_;
|
||||
int channels_;
|
||||
|
||||
bool fec_enabled_;
|
||||
|
||||
Reference in New Issue
Block a user