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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.h

Issue 9702019: Adds Analog Gain Control (AGC) to the WebRTC client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added audio_input_stream_impl.h/.cc Created 8 years, 9 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/browser/renderer_host/media/audio_input_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
index a7645514a2ba9e1dfcf501ddc102eb323a70c07e..0113ea72e1d3d5b38dabaef0e6784b3e484075ec 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -140,7 +140,8 @@ class CONTENT_EXPORT AudioInputRendererHost
// required properties.
void OnCreateStream(int stream_id,
const AudioParameters& params,
- const std::string& device_id);
+ const std::string& device_id,
+ bool automatic_gain_control);
// Record the audio input stream referenced by |stream_id|.
void OnRecordStream(int stream_id);
@@ -151,9 +152,6 @@ class CONTENT_EXPORT AudioInputRendererHost
// Set the volume of the audio stream referenced by |stream_id|.
void OnSetVolume(int stream_id, double volume);
- // Get the volume of the audio stream referenced by |stream_id|.
- void OnGetVolume(int stream_id);
-
// Complete the process of creating an audio input stream. This will set up
// the shared memory or shared socket in low latency mode.
void DoCompleteCreation(media::AudioInputController* controller);

Powered by Google App Engine
This is Rietveld 408576698