OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_PROCESSOR_UTIL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_PROCESSOR_UTIL_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace webrtc { |
| 11 |
| 12 class AudioFrame; |
| 13 class AudioProcessing; |
| 14 class MediaConstraintsInterface; |
| 15 |
| 16 } |
| 17 |
| 18 namespace content { |
| 19 |
| 20 using webrtc::AudioProcessing; |
| 21 using webrtc::MediaConstraintsInterface; |
| 22 |
| 23 bool GetPropertyFromConstraints( |
| 24 const MediaConstraintsInterface* constraints, |
| 25 const std::string& key); |
| 26 |
| 27 void EnableEchoCancellation(AudioProcessing* audio_processing); |
| 28 |
| 29 void EnableNoiseSuppression(AudioProcessing* audio_processing); |
| 30 |
| 31 void EnableHighPassFilter(AudioProcessing* audio_processing); |
| 32 |
| 33 void EnableTypingDetection(AudioProcessing* audio_processing); |
| 34 |
| 35 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); |
| 36 |
| 37 void StartAecDump(AudioProcessing* audio_processin); |
| 38 |
| 39 void StopAecDump(AudioProcessing* audio_processin); |
| 40 |
| 41 } // namespace content |
| 42 |
| 43 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_PROCESSOR_UTIL_H_ |
OLD | NEW |