diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-25 17:42:36 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-25 17:43:12 +1000 |
| commit | 80d7df910987db5201402fe987124f29f09344f3 (patch) | |
| tree | 7e8c1e04ab40026087343efee95a771c7839b32f /src/audio/include/audio_decoder.hpp | |
| parent | 7b72e5479ee6d11f76c49f7463ba0e7f4e5165c5 (diff) | |
| download | tangara-fw-80d7df910987db5201402fe987124f29f09344f3.tar.gz | |
fuck off
Diffstat (limited to 'src/audio/include/audio_decoder.hpp')
| -rw-r--r-- | src/audio/include/audio_decoder.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/audio/include/audio_decoder.hpp b/src/audio/include/audio_decoder.hpp index a6b4754a..e8da415e 100644 --- a/src/audio/include/audio_decoder.hpp +++ b/src/audio/include/audio_decoder.hpp @@ -25,15 +25,12 @@ namespace audio { * An audio element that accepts various kinds of encoded audio streams as * input, and converts them to uncompressed PCM output. */ -class AudioDecoder : public IAudioElement { +class AudioDecoder { public: AudioDecoder(); ~AudioDecoder(); - auto NeedsToProcess() const -> bool override; - - auto Process(const std::vector<InputStream>& inputs, OutputStream* output) - -> void override; + auto Process(const InputStream& input, OutputStream* output) -> void; AudioDecoder(const AudioDecoder&) = delete; AudioDecoder& operator=(const AudioDecoder&) = delete; |
