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 #include <alsa/asoundlib.h> | 5 #include <alsa/asoundlib.h> |
6 | 6 |
7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/scoped_file.h" | 9 #include "base/files/scoped_file.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "chromecast/base/task_runner_impl.h" | 13 #include "chromecast/base/task_runner_impl.h" |
14 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h" | 14 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h" |
15 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa.h" | 15 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa.h" |
16 #include "chromecast/public/cast_media_shlib.h" | 16 #include "chromecast/public/cast_media_shlib.h" |
17 #include "chromecast/public/graphics_types.h" | 17 #include "chromecast/public/graphics_types.h" |
18 #include "chromecast/public/media_codec_support_shlib.h" | 18 #include "chromecast/public/media_codec_support_shlib.h" |
19 #include "chromecast/public/video_plane.h" | 19 #include "chromecast/public/video_plane.h" |
20 #include "media/base/media.h" | 20 #include "media/base/media.h" |
21 #include "media/base/media_switches.h" | 21 #include "media/base/media_switches.h" |
22 | 22 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 StreamMixerAlsa::Get()->AddLoopbackAudioObserver(observer); | 195 StreamMixerAlsa::Get()->AddLoopbackAudioObserver(observer); |
196 } | 196 } |
197 | 197 |
198 void CastMediaShlib::RemoveLoopbackAudioObserver( | 198 void CastMediaShlib::RemoveLoopbackAudioObserver( |
199 LoopbackAudioObserver* observer) { | 199 LoopbackAudioObserver* observer) { |
200 StreamMixerAlsa::Get()->RemoveLoopbackAudioObserver(observer); | 200 StreamMixerAlsa::Get()->RemoveLoopbackAudioObserver(observer); |
201 } | 201 } |
202 | 202 |
203 } // namespace media | 203 } // namespace media |
204 } // namespace chromecast | 204 } // namespace chromecast |
OLD | NEW |