Index: third_party/libjingle/overrides/init_webrtc.h |
diff --git a/third_party/libjingle/overrides/init_webrtc.h b/third_party/libjingle/overrides/init_webrtc.h |
index 714f9c6ad8177a7dbda2ba9ea79f1740a9cedfab..c29bd71b69d9673f187bacdfcb52d4edda89b857 100644 |
--- a/third_party/libjingle/overrides/init_webrtc.h |
+++ b/third_party/libjingle/overrides/init_webrtc.h |
@@ -23,6 +23,8 @@ class WebRtcVideoEncoderFactory; |
namespace webrtc { |
class AudioDeviceModule; |
+class AudioProcessing; |
+class Config; |
namespace metrics { |
class Histogram; |
} // namespace metrics |
@@ -51,6 +53,9 @@ typedef void (*DestroyWebRtcMediaEngineFunction)( |
typedef void (*InitDiagnosticLoggingDelegateFunctionFunction)( |
void (*DelegateFunction)(const std::string&)); |
+typedef webrtc::AudioProcessing* (*CreateWebRtcAudioProcessingFunction)( |
+ const webrtc::Config& config); |
+ |
// A typedef for the main initialize function in libpeerconnection. |
// This will initialize logging in the module with the proper arguments |
// as well as provide pointers back to a couple webrtc factory functions. |
@@ -72,7 +77,8 @@ typedef bool (*InitializeModuleFunction)( |
webrtc::AddTraceEventPtr trace_add_trace_event, |
CreateWebRtcMediaEngineFunction* create_media_engine, |
DestroyWebRtcMediaEngineFunction* destroy_media_engine, |
- InitDiagnosticLoggingDelegateFunctionFunction* init_diagnostic_logging); |
+ InitDiagnosticLoggingDelegateFunctionFunction* init_diagnostic_logging, |
+ CreateWebRtcAudioProcessingFunction* create_audio_processing); |
#if !defined(LIBPEERCONNECTION_IMPLEMENTATION) |
// Load and initialize the shared WebRTC module (libpeerconnection). |
@@ -81,6 +87,11 @@ typedef bool (*InitializeModuleFunction)( |
// If not called explicitly, this function will still be called from the main |
// CreateWebRtcMediaEngine factory function the first time it is called. |
bool InitializeWebRtcModule(); |
+ |
+// Return a webrtc::AudioProcessing object. |
+webrtc::AudioProcessing* CreateWebRtcAudioProcessing( |
+ const webrtc::Config& config); |
+ |
#endif |
#endif // THIRD_PARTY_LIBJINGLE_OVERRIDES_INIT_WEBRTC_H_ |