Renaming SetOpusMaxBandwidth to SetOpusMaxPlaybackRate
This is to maintain the consistency with the Opus codec option "maxplaybackrate" defined in http://tools.ietf.org/html/draft-spittka-payload-rtp-opus-03 BUG= R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14279004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7038 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -916,21 +916,20 @@ class AudioCodingModule: public Module {
|
||||
bool enforce_frame_size = false) = 0;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// int SetOpusMaxBandwidth()
|
||||
// If current send codec is Opus, informs it about maximum audio bandwidth
|
||||
// needs to be encoded. A use case of this is when the receiver can only play
|
||||
// audio up to frequency limit. Opus can use this information to optimize
|
||||
// the bit rate and increase the computation efficiency.
|
||||
// int SetOpusMaxPlaybackRate()
|
||||
// If current send codec is Opus, informs it about maximum playback rate the
|
||||
// receiver will render. Opus can use this information to optimize the bit
|
||||
// rate and increase the computation efficiency.
|
||||
//
|
||||
// Input:
|
||||
// -banbwidth_hz : maximum bandwidth in Hz.
|
||||
// -frequency_hz : maximum playback rate in Hz.
|
||||
//
|
||||
// Return value:
|
||||
// -1 if current send codec is not Opus or
|
||||
// error occurred in setting the bandwidth,
|
||||
// error occurred in setting the maximum playback rate,
|
||||
// 0 maximum bandwidth is set successfully.
|
||||
//
|
||||
virtual int SetOpusMaxBandwidth(int banbwidth_hz) = 0;
|
||||
virtual int SetOpusMaxPlaybackRate(int frequency_hz) = 0;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// statistics
|
||||
|
||||
Reference in New Issue
Block a user