OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ | 5 #ifndef COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ |
6 #define COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ | 6 #define COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
14 #include "components/audio_modem/audio_player.h" | 16 #include "components/audio_modem/audio_player.h" |
15 #include "media/audio/audio_io.h" | 17 #include "media/audio/audio_io.h" |
16 | 18 |
17 namespace media { | 19 namespace media { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 83 |
82 // Index to the frame in the samples that we need to play next. | 84 // Index to the frame in the samples that we need to play next. |
83 int frame_index_; | 85 int frame_index_; |
84 | 86 |
85 DISALLOW_COPY_AND_ASSIGN(AudioPlayerImpl); | 87 DISALLOW_COPY_AND_ASSIGN(AudioPlayerImpl); |
86 }; | 88 }; |
87 | 89 |
88 } // namespace audio_modem | 90 } // namespace audio_modem |
89 | 91 |
90 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ | 92 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ |
OLD | NEW |