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

Side by Side Diff: chromecast/media/cma/backend/alsa/audio_filter_factory.h

Issue 2771143002: Implement runtime audio post-processing pipeline. See go/cast_audio.json (Closed)
Patch Set: Suffix governor with _1.0 Created 3 years, 9 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 2016 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 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_FILTER_FACTORY_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_FILTER_FACTORY_H_
7
8 #include <memory>
9
10 #include "chromecast/media/cma/backend/alsa/audio_filter_interface.h"
11
12 namespace chromecast {
13 namespace media {
14
15 class AudioFilterFactory {
16 public:
17 // FilterType specifies the usage of the created filter.
18 enum FilterType {
19 MEDIA_AUDIO_FILTER = 0,
20 TTS_AUDIO_FILTER,
21 COMMUNICATION_AUDIO_FILTER,
22 ALARM_AUDIO_FILTER,
23 };
24
25 // Creates a new AudioFilterInterface.
26 static std::unique_ptr<AudioFilterInterface> MakeAudioFilter(
27 FilterType filter_type);
28 };
29
30 } // namespace media
31 } // namespace chromecast
32
33 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_FILTER_AUDIO_FILTER_FACTORY_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/alsa/BUILD.gn ('k') | chromecast/media/cma/backend/alsa/audio_filter_factory_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698