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

Side by Side Diff: chromecast/media/cma/backend/alsa/audio_filter_interface.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, 8 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_INTERFACE_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_FILTER_INTERFACE_H_
7
8 #include <stdint.h>
9
10 #include "media/base/sample_format.h"
11
12 namespace chromecast {
13 namespace media {
14
15 class AudioFilterInterface {
16 public:
17 virtual ~AudioFilterInterface() = default;
18 virtual bool SetSampleRateAndFormat(int sample_rate,
19 ::media::SampleFormat sample_format) = 0;
20
21 // Process data frames. Must be interleaved. |data| will be overwritten.
22 virtual bool ProcessInterleaved(uint8_t* data, int frames, float volume) = 0;
23 };
24
25 } // namespace media
26 } // namespace chromecast
27
28 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_AUDIO_FILTER_INTERFACE_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/alsa/audio_filter_factory_default.cc ('k') | chromecast/media/cma/backend/alsa/filter_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698