diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-16 10:57:55 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-16 10:57:55 +1000 |
| commit | 4e27de21e49900963ffa61cc9c0a676bb028f992 (patch) | |
| tree | 8123994d33bc2ff8b5d58a38155b53e401669ae8 /src/audio/include/audio_output.hpp | |
| parent | 62dce8d9fcc139ca6dc2041c86723d19faab304f (diff) | |
| download | tangara-fw-4e27de21e49900963ffa61cc9c0a676bb028f992.tar.gz | |
clean up a bunch of obselete audio code
Diffstat (limited to 'src/audio/include/audio_output.hpp')
| -rw-r--r-- | src/audio/include/audio_output.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/audio/include/audio_output.hpp b/src/audio/include/audio_output.hpp deleted file mode 100644 index 074f21d4..00000000 --- a/src/audio/include/audio_output.hpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2023 jacqueline <me@jacqueline.id.au> - * - * SPDX-License-Identifier: GPL-3.0-only - */ - -#pragma once - -#include <cstdint> -#include <memory> - -#include "audio_common.h" -#include "audio_element.h" -#include "audio_element.hpp" - -namespace audio { - -class AudioOutput : IAudioElement { - public: - AudioOutput(); - ~AudioOutput(); - - auto GetAudioElement() -> audio_element_handle_t { return element_; } - - auto SetInputBuffer(StreamBufferHandle_t buffer) -> void; - - virtual auto Configure(audio_element_info_t& info) -> void = 0; - virtual auto SetSoftMute(bool enabled) -> void = 0; - - private: - audio_element_handle_t element_; - uint8_t volume_; -}; - -} // namespace audio |
