OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_AUDIO_OUTPUT_STREAM_SINK_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_ |
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_ | 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
14 #include "media/audio/audio_io.h" | 16 #include "media/audio/audio_io.h" |
15 #include "media/base/audio_renderer_sink.h" | 17 #include "media/base/audio_renderer_sink.h" |
16 #include "media/base/media_export.h" | 18 #include "media/base/media_export.h" |
17 | 19 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 81 |
80 // The actual AudioOutputStream, must only be accessed on the audio thread. | 82 // The actual AudioOutputStream, must only be accessed on the audio thread. |
81 AudioOutputStream* stream_; | 83 AudioOutputStream* stream_; |
82 | 84 |
83 DISALLOW_COPY_AND_ASSIGN(AudioOutputStreamSink); | 85 DISALLOW_COPY_AND_ASSIGN(AudioOutputStreamSink); |
84 }; | 86 }; |
85 | 87 |
86 } // namepace media | 88 } // namepace media |
87 | 89 |
88 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_ | 90 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_ |
OLD | NEW |