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_SIMPLE_SOURCES_H_ | 5 #ifndef MEDIA_AUDIO_SIMPLE_SOURCES_H_ |
6 #define MEDIA_AUDIO_SIMPLE_SOURCES_H_ | 6 #define MEDIA_AUDIO_SIMPLE_SOURCES_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
9 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
10 #include "media/audio/audio_io.h" | 12 #include "media/audio/audio_io.h" |
11 #include "media/base/audio_converter.h" | 13 #include "media/base/audio_converter.h" |
12 #include "media/base/seekable_buffer.h" | 14 #include "media/base/seekable_buffer.h" |
13 | 15 |
14 namespace media { | 16 namespace media { |
15 | 17 |
16 class WavAudioHandler; | 18 class WavAudioHandler; |
17 | 19 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 base::TimeTicks last_callback_time_; | 106 base::TimeTicks last_callback_time_; |
105 base::TimeDelta interval_from_last_beep_; | 107 base::TimeDelta interval_from_last_beep_; |
106 int beep_duration_in_buffers_; | 108 int beep_duration_in_buffers_; |
107 int beep_generated_in_buffers_; | 109 int beep_generated_in_buffers_; |
108 int beep_period_in_frames_; | 110 int beep_period_in_frames_; |
109 }; | 111 }; |
110 | 112 |
111 } // namespace media | 113 } // namespace media |
112 | 114 |
113 #endif // MEDIA_AUDIO_SIMPLE_SOURCES_H_ | 115 #endif // MEDIA_AUDIO_SIMPLE_SOURCES_H_ |
OLD | NEW |