| Index: trunk/src/content/renderer/media/media_stream_audio_processor.h
|
| ===================================================================
|
| --- trunk/src/content/renderer/media/media_stream_audio_processor.h (revision 246904)
|
| +++ trunk/src/content/renderer/media/media_stream_audio_processor.h (working copy)
|
| @@ -63,9 +63,6 @@
|
| // the post-processed data if the method is returning a true. The lifetime
|
| // of the data represeted by |out| is guaranteed to outlive the method call.
|
| // That also says *|out| won't change until this method is called again.
|
| - // |new_volume| receives the new microphone volume from the AGC.
|
| - // The new microphoen volume range is [0, 255], and the value will be 0 if
|
| - // the microphone volume should not be adjusted.
|
| // Returns true if the internal FIFO has at least 10 ms data for processing,
|
| // otherwise false.
|
| // |capture_delay|, |volume| and |key_pressed| will be passed to
|
| @@ -74,7 +71,6 @@
|
| bool ProcessAndConsumeData(base::TimeDelta capture_delay,
|
| int volume,
|
| bool key_pressed,
|
| - int* new_volume,
|
| int16** out);
|
|
|
|
|
| @@ -92,8 +88,6 @@
|
| virtual ~MediaStreamAudioProcessor();
|
|
|
| private:
|
| - friend class MediaStreamAudioProcessorTest;
|
| -
|
| class MediaStreamAudioConverter;
|
|
|
| // Helper to initialize the WebRtc AudioProcessing.
|
| @@ -109,12 +103,10 @@
|
| int frames_per_buffer);
|
|
|
| // Called by ProcessAndConsumeData().
|
| - // Returns the new microphone volume in the range of |0, 255].
|
| - // When the volume does not need to be updated, it returns 0.
|
| - int ProcessData(webrtc::AudioFrame* audio_frame,
|
| - base::TimeDelta capture_delay,
|
| - int volume,
|
| - bool key_pressed);
|
| + void ProcessData(webrtc::AudioFrame* audio_frame,
|
| + base::TimeDelta capture_delay,
|
| + int volume,
|
| + bool key_pressed);
|
|
|
| // Called when the processor is going away.
|
| void StopAudioProcessing();
|
| @@ -151,9 +143,6 @@
|
|
|
| // Used to DCHECK that PushRenderData() is called on the render audio thread.
|
| base::ThreadChecker render_thread_checker_;
|
| -
|
| - // Flag to enable the stereo channels mirroring.
|
| - bool audio_mirroring_;
|
| };
|
|
|
| } // namespace content
|
|
|