AudioEncoder: num_10ms_frames_per_packet -> Num10MsFramesInNextPacket
Rename this accessor function to reflect its new, slightly changed meaning. The reason for the change is that some codecs (iSAC) vary the number of 10 ms frames from packet to packet, and so can't return a truly constant value. BUG=3926 R=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/31849004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7556 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -48,7 +48,7 @@ int AudioEncoderPcm::sample_rate_hz() const {
|
||||
int AudioEncoderPcm::num_channels() const {
|
||||
return num_channels_;
|
||||
}
|
||||
int AudioEncoderPcm::num_10ms_frames_per_packet() const {
|
||||
int AudioEncoderPcm::Num10MsFramesInNextPacket() const {
|
||||
return num_10ms_frames_per_packet_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user