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" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 } | 191 } |
192 | 192 |
193 void CastMediaShlib::AddLoopbackAudioObserver(LoopbackAudioObserver* observer) { | 193 void CastMediaShlib::AddLoopbackAudioObserver(LoopbackAudioObserver* observer) { |
194 StreamMixerAlsa::Get()->AddLoopbackAudioObserver(observer); | 194 StreamMixerAlsa::Get()->AddLoopbackAudioObserver(observer); |
195 } | 195 } |
196 | 196 |
197 void CastMediaShlib::RemoveLoopbackAudioObserver( | 197 void CastMediaShlib::RemoveLoopbackAudioObserver( |
198 LoopbackAudioObserver* observer) { | 198 LoopbackAudioObserver* observer) { |
199 StreamMixerAlsa::Get()->RemoveLoopbackAudioObserver(observer); | 199 StreamMixerAlsa::Get()->RemoveLoopbackAudioObserver(observer); |
200 } | 200 } |
201 void SetPostProcessorConfig(const std::string& name, | 201 |
202 const std::string& config) { | 202 void CastMediaShlib::SetPostProcessorConfig(const std::string& name, |
| 203 const std::string& config) { |
203 StreamMixerAlsa::Get()->SetPostProcessorConfig(name, config); | 204 StreamMixerAlsa::Get()->SetPostProcessorConfig(name, config); |
204 } | 205 } |
205 | 206 |
206 } // namespace media | 207 } // namespace media |
207 } // namespace chromecast | 208 } // namespace chromecast |
OLD | NEW |