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

Side by Side Diff: content/renderer/media/media_stream_audio_processor_options.h

Issue 187913002: Support the Aec dump for the APM in chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/platform_file.h"
11
10 namespace blink { 12 namespace blink {
11 class WebMediaConstraints; 13 class WebMediaConstraints;
12 } 14 }
13 15
14 namespace webrtc { 16 namespace webrtc {
15 17
16 class AudioFrame; 18 class AudioFrame;
17 class AudioProcessing; 19 class AudioProcessing;
18 class MediaConstraintsInterface; 20 class MediaConstraintsInterface;
19 class TypingDetection; 21 class TypingDetection;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void EnableHighPassFilter(AudioProcessing* audio_processing); 63 void EnableHighPassFilter(AudioProcessing* audio_processing);
62 64
63 // Enables the typing detection in |audio_processing|. 65 // Enables the typing detection in |audio_processing|.
64 void EnableTypingDetection(AudioProcessing* audio_processing, 66 void EnableTypingDetection(AudioProcessing* audio_processing,
65 webrtc::TypingDetection* typing_detector); 67 webrtc::TypingDetection* typing_detector);
66 68
67 // Enables the experimental echo cancellation in |audio_processing|. 69 // Enables the experimental echo cancellation in |audio_processing|.
68 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); 70 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing);
69 71
70 // Starts the echo cancellation dump in |audio_processing|. 72 // Starts the echo cancellation dump in |audio_processing|.
71 void StartAecDump(AudioProcessing* audio_processing); 73 void StartEchoCancellationDump(AudioProcessing* audio_processing,
74 const base::PlatformFile& aec_dump_file);
72 75
73 // Stops the echo cancellation dump in |audio_processing|. 76 // Stops the echo cancellation dump in |audio_processing|.
74 void StopAecDump(AudioProcessing* audio_processing); 77 // This method has no impact if echo cancellation dump has not been started on
78 // |audio_processing|.
79 void StopEchoCancellationDump(AudioProcessing* audio_processing);
75 80
76 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 81 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
77 82
78 } // namespace content 83 } // namespace content
79 84
80 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 85 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698