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

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: Unrelated cleanup 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 chromecast::media::AudioPostProcessor* AudioPostProcessorShlib_Create(
9 const std::string& config,
10 int channels) {
11 return static_cast<chromecast::media::AudioPostProcessor*>(
12 new chromecast::media::Governor(config, channels));
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698