From 80d7df910987db5201402fe987124f29f09344f3 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 25 Jul 2023 17:42:36 +1000 Subject: fuck off --- src/audio/include/audio_decoder.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/audio/include/audio_decoder.hpp') 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& inputs, OutputStream* output) - -> void override; + auto Process(const InputStream& input, OutputStream* output) -> void; AudioDecoder(const AudioDecoder&) = delete; AudioDecoder& operator=(const AudioDecoder&) = delete; -- cgit v1.2.3