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

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

Issue 319543004: Move and rename FdopenPlatformFile to file_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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" 10 #include "base/files/file.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" 12 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
13 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" 13 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 class AudioFrame; 17 class AudioFrame;
18 class AudioProcessing; 18 class AudioProcessing;
19 class MediaConstraintsInterface; 19 class MediaConstraintsInterface;
20 class TypingDetection; 20 class TypingDetection;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Enables the typing detection in |audio_processing|. 103 // Enables the typing detection in |audio_processing|.
104 void EnableTypingDetection(AudioProcessing* audio_processing, 104 void EnableTypingDetection(AudioProcessing* audio_processing,
105 webrtc::TypingDetection* typing_detector); 105 webrtc::TypingDetection* typing_detector);
106 106
107 // Enables the experimental echo cancellation in |audio_processing|. 107 // Enables the experimental echo cancellation in |audio_processing|.
108 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); 108 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing);
109 109
110 // Starts the echo cancellation dump in |audio_processing|. 110 // Starts the echo cancellation dump in |audio_processing|.
111 void StartEchoCancellationDump(AudioProcessing* audio_processing, 111 void StartEchoCancellationDump(AudioProcessing* audio_processing,
112 const base::PlatformFile& aec_dump_file); 112 base::File aec_dump_file);
113 113
114 // Stops the echo cancellation dump in |audio_processing|. 114 // Stops the echo cancellation dump in |audio_processing|.
115 // This method has no impact if echo cancellation dump has not been started on 115 // This method has no impact if echo cancellation dump has not been started on
116 // |audio_processing|. 116 // |audio_processing|.
117 void StopEchoCancellationDump(AudioProcessing* audio_processing); 117 void StopEchoCancellationDump(AudioProcessing* audio_processing);
118 118
119 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 119 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
120 120
121 void GetAecStats(AudioProcessing* audio_processing, 121 void GetAecStats(AudioProcessing* audio_processing,
122 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); 122 webrtc::AudioProcessorInterface::AudioProcessorStats* stats);
123 123
124 } // namespace content 124 } // namespace content
125 125
126 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 126 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_processor.cc ('k') | content/renderer/media/media_stream_audio_processor_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698