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:
aluebs@webrtc.org
2014-07-03 13:41:39 +00:00
parent c0ba4392f1
commit 224a140339
4 changed files with 2 additions and 14 deletions

View File

@ -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().