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_FAKE_AUDIO_OUTPUT_STREAM_H_ | 5 #ifndef MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ |
6 #define MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ | 6 #define MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "media/audio/audio_io.h" | 10 #include "media/audio/audio_io.h" |
10 #include "media/audio/audio_parameters.h" | 11 #include "media/audio/audio_parameters.h" |
11 #include "media/audio/fake_audio_worker.h" | 12 #include "media/audio/fake_audio_worker.h" |
12 | 13 |
13 namespace media { | 14 namespace media { |
14 | 15 |
15 class AudioManagerBase; | 16 class AudioManagerBase; |
16 | 17 |
17 // A fake implementation of AudioOutputStream. Used for testing and when a real | 18 // A fake implementation of AudioOutputStream. Used for testing and when a real |
(...skipping 24 matching lines...) Expand all Loading... |
42 AudioSourceCallback* callback_; | 43 AudioSourceCallback* callback_; |
43 FakeAudioWorker fake_worker_; | 44 FakeAudioWorker fake_worker_; |
44 scoped_ptr<AudioBus> audio_bus_; | 45 scoped_ptr<AudioBus> audio_bus_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(FakeAudioOutputStream); | 47 DISALLOW_COPY_AND_ASSIGN(FakeAudioOutputStream); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace media | 50 } // namespace media |
50 | 51 |
51 #endif // MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ | 52 #endif // MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ |
OLD | NEW |