Index: content/renderer/media/webrtc_local_audio_track.h |
diff --git a/content/renderer/media/webrtc_local_audio_track.h b/content/renderer/media/webrtc_local_audio_track.h |
index 70ae7bbccb3dc15f82d6a277971ef0205581ed4f..c64709a420caed173095ffd3877d09860c49b591 100644 |
--- a/content/renderer/media/webrtc_local_audio_track.h |
+++ b/content/renderer/media/webrtc_local_audio_track.h |
@@ -18,6 +18,7 @@ |
namespace content { |
+class MediaStreamAudioProcessor; |
class MediaStreamAudioSink; |
class MediaStreamAudioSinkOwner; |
class MediaStreamAudioTrackSink; |
@@ -64,7 +65,7 @@ class CONTENT_EXPORT WebRtcLocalAudioTrack |
void Stop(); |
// Method called by the capturer to deliver the capture data. |
- // Call on the capture audio thread. |
+ // Called on the capture audio thread. |
void Capture(const int16* audio_data, |
base::TimeDelta delay, |
int volume, |
@@ -73,9 +74,15 @@ class CONTENT_EXPORT WebRtcLocalAudioTrack |
// Method called by the capturer to set the audio parameters used by source |
// of the capture data.. |
- // Call on the capture audio thread. |
+ // Called on the capture audio thread. |
void OnSetFormat(const media::AudioParameters& params); |
+ // Method called by the capturer to set the processor that applies signal |
+ // processing on the data of the track. |
+ // Called on the capture audio thread. |
+ void SetAudioProcessor( |
+ const scoped_refptr<MediaStreamAudioProcessor>& processor); |
+ |
blink::WebAudioSourceProvider* audio_source_provider() const { |
return source_provider_.get(); |
} |