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 MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ | 5 #ifndef MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ |
6 #define MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ | 6 #define MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
14 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
15 #include "media/audio/audio_io.h" | 14 #include "media/audio/audio_io.h" |
16 #include "media/audio/audio_parameters.h" | 15 #include "media/audio/audio_parameters.h" |
17 #include "media/audio/fake_audio_worker.h" | 16 #include "media/audio/fake_audio_worker.h" |
18 #include "media/base/audio_converter.h" | 17 #include "media/base/audio_converter.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 scoped_ptr<AudioBus> audio_bus_; | 109 scoped_ptr<AudioBus> audio_bus_; |
111 | 110 |
112 base::ThreadChecker thread_checker_; | 111 base::ThreadChecker thread_checker_; |
113 | 112 |
114 DISALLOW_COPY_AND_ASSIGN(VirtualAudioInputStream); | 113 DISALLOW_COPY_AND_ASSIGN(VirtualAudioInputStream); |
115 }; | 114 }; |
116 | 115 |
117 } // namespace media | 116 } // namespace media |
118 | 117 |
119 #endif // MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ | 118 #endif // MEDIA_AUDIO_VIRTUAL_AUDIO_INPUT_STREAM_H_ |
OLD | NEW |