Make experimental NS API not purely virtual
Because not all subclasses will want to bother overriding these methods. R=bjornv@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18689004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6592 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -209,8 +209,8 @@ class AudioProcessing {
|
||||
// ensures the options are applied immediately.
|
||||
virtual void SetExtraOptions(const Config& config) = 0;
|
||||
|
||||
virtual int EnableExperimentalNs(bool enable) = 0;
|
||||
virtual bool experimental_ns_enabled() const = 0;
|
||||
virtual int EnableExperimentalNs(bool enable) { return kNoError; }
|
||||
virtual bool experimental_ns_enabled() const { return false; }
|
||||
|
||||
// DEPRECATED.
|
||||
// TODO(ajm): Remove after Chromium has upgraded to using Initialize().
|
||||
|
||||
Reference in New Issue
Block a user