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

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

Issue 2958393002: Add a simple, safe gain PostProcessor. (Closed)
Patch Set: Combine cma/backend/alsa tests into a single target 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromecast/media/cma/backend/alsa/post_processors/governor.h"
6 #include "chromecast/public/media/audio_post_processor_shlib.h"
7
8 namespace chromecast {
9 namespace media {
10
11 chromecast::media::AudioPostProcessor* AudioPostProcessorShlib_Create(
12 const std::string& config,
13 int channels) {
14 return static_cast<chromecast::media::AudioPostProcessor*>(
15 new chromecast::media::Governor(config, channels));
16 }
17
18 } // namespace media
19 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698