Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: chromecast/media/cma/backend/alsa/cast_media_shlib.cc

Issue 2341783004: [chromecast] Slew stream volume changes in StreamMixerAlsa. (Closed)
Patch Set: [Chromecast] Make SetPostProcessorConfig() a method. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698