Add AudioEncoder::Max10MsFramesInAPacket

BUG=3926
R=kwiberg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29179004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7834 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2014-12-08 21:15:55 +00:00
parent 130fef89dd
commit 8911bc52f1
9 changed files with 22 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ int AudioEncoderPcm::Num10MsFramesInNextPacket() const {
return num_10ms_frames_per_packet_;
}
int AudioEncoderPcm::Max10MsFramesInAPacket() const {
return num_10ms_frames_per_packet_;
}
bool AudioEncoderPcm::EncodeInternal(uint32_t timestamp,
const int16_t* audio,
size_t max_encoded_bytes,