Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Unified Diff: content/renderer/media/webrtc_local_audio_source_provider.h

Issue 37793005: move the APM to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc_local_audio_source_provider.h
diff --git a/content/renderer/media/webrtc_local_audio_source_provider.h b/content/renderer/media/webrtc_local_audio_source_provider.h
index 1d600b75565c015c8f8f87a37e36e8986d788d1e..d810a203d50a8a870529f7993248208f7f4a2b3e 100644
--- a/content/renderer/media/webrtc_local_audio_source_provider.h
+++ b/content/renderer/media/webrtc_local_audio_source_provider.h
@@ -49,12 +49,13 @@ class CONTENT_EXPORT WebRtcLocalAudioSourceProvider
// times if the source format has changed.
void Initialize(const media::AudioParameters& source_params);
+ // TODO(xians): Merge with the sink interface.
// Called by the WebRtcAudioCapturer to deliever captured data into fifo on
// the capture audio thread.
- void DeliverData(media::AudioBus* audio_source,
- int audio_delay_milliseconds,
- int volume,
- bool key_pressed);
+ void DeliverData(const int16* data,
+ int sample_rate,
+ int number_of_channels,
+ int number_of_frames);
// Called by the WebAudioCapturerSource to get the audio processing params.
// This function is triggered by provideInput() on the WebAudio audio thread,

Powered by Google App Engine
This is Rietveld 408576698