Factory method for the ADM in the interface file.
BUG=N/A TEST=no Review URL: https://webrtc-codereview.appspot.com/396017 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1753 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
dc3179dfe7
commit
70efc3250d
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
@ -199,6 +199,9 @@ class AudioDeviceModule : public RefCountedModule {
|
||||
virtual ~AudioDeviceModule() {};
|
||||
};
|
||||
|
||||
AudioDeviceModule* CreateAudioDeviceModule(
|
||||
WebRtc_Word32 id, AudioDeviceModule::AudioLayer audioLayer);
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // MODULES_AUDIO_DEVICE_MAIN_INTERFACE_AUDIO_DEVICE_H_
|
||||
|
@ -66,6 +66,12 @@
|
||||
namespace webrtc
|
||||
{
|
||||
|
||||
AudioDeviceModule* CreateAudioDeviceModule(
|
||||
WebRtc_Word32 id, AudioDeviceModule::AudioLayer audioLayer) {
|
||||
return AudioDeviceModuleImpl::Create(id, audioLayer);
|
||||
}
|
||||
|
||||
|
||||
// ============================================================================
|
||||
// Static methods
|
||||
// ============================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user