Add a Config parameter to AudioProcessing::Create().

Also add a parameter-less version; the (int) version is deprecated and
should be removed.

TBR=aluebs,bjornv
BUG=2844

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5431 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org
2014-01-25 02:09:06 +00:00
parent 256d0ada35
commit e84978f3d8
4 changed files with 23 additions and 5 deletions

View File

@ -134,6 +134,9 @@ class AudioProcessing : public Module {
// typically be one instance for the near-end stream, and additional instances
// for each far-end stream which requires processing. On the server-side,
// this would typically be one instance for every incoming stream.
static AudioProcessing* Create();
static AudioProcessing* Create(const Config& config);
// TODO(ajm): Deprecated; remove all calls to it.
static AudioProcessing* Create(int id);
virtual ~AudioProcessing() {}