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 CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ |
6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ | 6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ |
7 | 7 |
8 #include <alsa/asoundlib.h> | 8 #include <alsa/asoundlib.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
19 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
20 #include "chromecast/media/cma/backend/alsa/audio_filter_interface.h" | |
21 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h" | 20 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h" |
22 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h" | 21 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h" |
23 #include "chromecast/public/cast_media_shlib.h" | 22 #include "chromecast/public/cast_media_shlib.h" |
24 #include "chromecast/public/volume_control.h" | 23 #include "chromecast/public/volume_control.h" |
25 | 24 |
26 namespace media { | 25 namespace media { |
27 class AudioBus; | 26 class AudioBus; |
28 } // namespace media | 27 } // namespace media |
29 | 28 |
30 namespace chromecast { | 29 namespace chromecast { |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 282 |
284 std::map<AudioContentType, VolumeInfo> volume_info_; | 283 std::map<AudioContentType, VolumeInfo> volume_info_; |
285 | 284 |
286 DISALLOW_COPY_AND_ASSIGN(StreamMixerAlsa); | 285 DISALLOW_COPY_AND_ASSIGN(StreamMixerAlsa); |
287 }; | 286 }; |
288 | 287 |
289 } // namespace media | 288 } // namespace media |
290 } // namespace chromecast | 289 } // namespace chromecast |
291 | 290 |
292 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ | 291 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_H_ |
OLD | NEW |