OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ALSA_ALSA_INPUT_H_ | 5 #ifndef MEDIA_AUDIO_ALSA_ALSA_INPUT_H_ |
6 #define MEDIA_AUDIO_ALSA_ALSA_INPUT_H_ | 6 #define MEDIA_AUDIO_ALSA_ALSA_INPUT_H_ |
7 | 7 |
8 #include <alsa/asoundlib.h> | 8 #include <alsa/asoundlib.h> |
| 9 #include <stdint.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "media/audio/agc_audio_stream.h" | 18 #include "media/audio/agc_audio_stream.h" |
18 #include "media/audio/audio_io.h" | 19 #include "media/audio/audio_io.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 89 |
89 // NOTE: Weak pointers must be invalidated before all other member variables. | 90 // NOTE: Weak pointers must be invalidated before all other member variables. |
90 base::WeakPtrFactory<AlsaPcmInputStream> weak_factory_; | 91 base::WeakPtrFactory<AlsaPcmInputStream> weak_factory_; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(AlsaPcmInputStream); | 93 DISALLOW_COPY_AND_ASSIGN(AlsaPcmInputStream); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace media | 96 } // namespace media |
96 | 97 |
97 #endif // MEDIA_AUDIO_ALSA_ALSA_INPUT_H_ | 98 #endif // MEDIA_AUDIO_ALSA_ALSA_INPUT_H_ |
OLD | NEW |