OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBRTC_AUDIO_RENDERER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
| 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
14 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
15 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
16 #include "content/public/renderer/media_stream_audio_renderer.h" | 19 #include "content/public/renderer/media_stream_audio_renderer.h" |
17 #include "content/renderer/media/webrtc_audio_device_impl.h" | 20 #include "content/renderer/media/webrtc_audio_device_impl.h" |
18 #include "media/base/audio_decoder.h" | 21 #include "media/base/audio_decoder.h" |
19 #include "media/base/audio_pull_fifo.h" | 22 #include "media/base/audio_pull_fifo.h" |
20 #include "media/base/audio_renderer_sink.h" | 23 #include "media/base/audio_renderer_sink.h" |
21 #include "media/base/channel_layout.h" | 24 #include "media/base/channel_layout.h" |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // Used for triggering new UMA histogram. Counts number of render | 267 // Used for triggering new UMA histogram. Counts number of render |
265 // callbacks modulo |kNumCallbacksBetweenRenderTimeHistograms|. | 268 // callbacks modulo |kNumCallbacksBetweenRenderTimeHistograms|. |
266 int render_callback_count_; | 269 int render_callback_count_; |
267 | 270 |
268 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcAudioRenderer); | 271 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcAudioRenderer); |
269 }; | 272 }; |
270 | 273 |
271 } // namespace content | 274 } // namespace content |
272 | 275 |
273 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ | 276 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
OLD | NEW |