OLD | NEW |
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_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_H_ |
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_H_ |
7 | 7 |
8 #include "base/atomicops.h" | 8 #include "base/atomicops.h" |
9 #include "base/files/file.h" | 9 #include "base/files/file.h" |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 namespace webrtc { | 46 namespace webrtc { |
47 class TypingDetection; | 47 class TypingDetection; |
48 } | 48 } |
49 | 49 |
50 namespace content { | 50 namespace content { |
51 | 51 |
52 class EchoInformation; | 52 class EchoInformation; |
53 class MediaStreamAudioBus; | 53 class MediaStreamAudioBus; |
54 class MediaStreamAudioFifo; | 54 class MediaStreamAudioFifo; |
55 class RTCMediaConstraints; | |
56 | 55 |
57 using webrtc::AudioProcessorInterface; | 56 using webrtc::AudioProcessorInterface; |
58 | 57 |
59 // This class owns an object of webrtc::AudioProcessing which contains signal | 58 // This class owns an object of webrtc::AudioProcessing which contains signal |
60 // processing components like AGC, AEC and NS. It enables the components based | 59 // processing components like AGC, AEC and NS. It enables the components based |
61 // on the getUserMedia constraints, processes the data and outputs it in a unit | 60 // on the getUserMedia constraints, processes the data and outputs it in a unit |
62 // of 10 ms data chunk. | 61 // of 10 ms data chunk. |
63 class CONTENT_EXPORT MediaStreamAudioProcessor : | 62 class CONTENT_EXPORT MediaStreamAudioProcessor : |
64 NON_EXPORTED_BASE(public WebRtcPlayoutDataSource::Sink), | 63 NON_EXPORTED_BASE(public WebRtcPlayoutDataSource::Sink), |
65 NON_EXPORTED_BASE(public AudioProcessorInterface), | 64 NON_EXPORTED_BASE(public AudioProcessorInterface), |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // Object for logging UMA stats for echo information when the AEC is enabled. | 239 // Object for logging UMA stats for echo information when the AEC is enabled. |
241 // Accessed on the main render thread. | 240 // Accessed on the main render thread. |
242 std::unique_ptr<EchoInformation> echo_information_; | 241 std::unique_ptr<EchoInformation> echo_information_; |
243 | 242 |
244 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioProcessor); | 243 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioProcessor); |
245 }; | 244 }; |
246 | 245 |
247 } // namespace content | 246 } // namespace content |
248 | 247 |
249 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_H_ | 248 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_H_ |
OLD | NEW |