Restore sample_rate_hz() until Chromium is updated to not use it.

TBR=bjornv
TESTED=Chromium builds against webrtc head.
BUG=2894

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5962 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org
2014-04-23 03:33:54 +00:00
parent 504fc89f36
commit 46b31b17df
4 changed files with 10 additions and 1 deletions

View File

@ -195,10 +195,11 @@ class AudioProcessing {
// DEPRECATED.
// TODO(ajm): Remove after Chromium has upgraded to using Initialize().
virtual int set_sample_rate_hz(int rate) = 0;
// DEPRECATED.
// TODO(ajm): Remove after voice engine no longer requires it to resample
// the reverse stream to the forward rate.
virtual int input_sample_rate_hz() const = 0;
// TODO(ajm): Remove after Chromium no longer depends on it.
virtual int sample_rate_hz() const = 0;
// TODO(ajm): Only intended for internal use. Make private and friend the
// necessary classes?