Distinguish instances of ACM1 from ACM2 by a version string. This is fpr testing purposes and will be removed when the experiment is done and ACM1 is fade out.
BUG= R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/4069006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5161 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -73,6 +73,10 @@ class ACMVQMonCallback {
|
||||
const uint16_t delayMS) = 0; // average delay in ms
|
||||
};
|
||||
|
||||
// Version string for testing, to distinguish instances of ACM1 from ACM2.
|
||||
extern const char kLegacyAcmVersion[];
|
||||
extern const char kExperimentalAcmVersion[];
|
||||
|
||||
class AudioCodingModule: public Module {
|
||||
protected:
|
||||
AudioCodingModule() {}
|
||||
@ -174,6 +178,11 @@ class AudioCodingModule: public Module {
|
||||
//
|
||||
static bool IsCodecValid(const CodecInst& codec);
|
||||
|
||||
// Returns the version of ACM. This facilitates distinguishing instances of
|
||||
// ACM1 from ACM2 while testing. This API will be removed when ACM1 is
|
||||
// completely removed.
|
||||
virtual const char* Version() const = 0;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Sender
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user