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

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

Issue 183883013: Hook up the experimental ns to APM in chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased 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 namespace blink { 10 namespace blink {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 bool GetPropertyFromConstraints( 47 bool GetPropertyFromConstraints(
48 const MediaConstraintsInterface* constraints, 48 const MediaConstraintsInterface* constraints,
49 const std::string& key); 49 const std::string& key);
50 50
51 // Enables the echo cancellation in |audio_processing|. 51 // Enables the echo cancellation in |audio_processing|.
52 void EnableEchoCancellation(AudioProcessing* audio_processing); 52 void EnableEchoCancellation(AudioProcessing* audio_processing);
53 53
54 // Enables the noise suppression in |audio_processing|. 54 // Enables the noise suppression in |audio_processing|.
55 void EnableNoiseSuppression(AudioProcessing* audio_processing); 55 void EnableNoiseSuppression(AudioProcessing* audio_processing);
56 56
57 // Enables the experimental noise suppression in |audio_processing|.
58 void EnableExperimentalNoiseSuppression(AudioProcessing* audio_processing);
59
57 // Enables the high pass filter in |audio_processing|. 60 // Enables the high pass filter in |audio_processing|.
58 void EnableHighPassFilter(AudioProcessing* audio_processing); 61 void EnableHighPassFilter(AudioProcessing* audio_processing);
59 62
60 // Enables the typing detection in |audio_processing|. 63 // Enables the typing detection in |audio_processing|.
61 void EnableTypingDetection(AudioProcessing* audio_processing, 64 void EnableTypingDetection(AudioProcessing* audio_processing,
62 webrtc::TypingDetection* typing_detector); 65 webrtc::TypingDetection* typing_detector);
63 66
64 // Enables the experimental echo cancellation in |audio_processing|. 67 // Enables the experimental echo cancellation in |audio_processing|.
65 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); 68 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing);
66 69
67 // Starts the echo cancellation dump in |audio_processing|. 70 // Starts the echo cancellation dump in |audio_processing|.
68 void StartAecDump(AudioProcessing* audio_processing); 71 void StartAecDump(AudioProcessing* audio_processing);
69 72
70 // Stops the echo cancellation dump in |audio_processing|. 73 // Stops the echo cancellation dump in |audio_processing|.
71 void StopAecDump(AudioProcessing* audio_processing); 74 void StopAecDump(AudioProcessing* audio_processing);
72 75
73 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 76 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
74 77
75 } // namespace content 78 } // namespace content
76 79
77 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 80 #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