From ce635a6d3b648cd36f33293142400b0b7ebecb98 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Fri, 22 Nov 2024 11:32:27 +0100 Subject: [PATCH] DecoderFloat empty constructor --- src/AudioTools/AudioCodecs/CodecFloat.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/AudioTools/AudioCodecs/CodecFloat.h b/src/AudioTools/AudioCodecs/CodecFloat.h index 126413f89..4feac33ea 100644 --- a/src/AudioTools/AudioCodecs/CodecFloat.h +++ b/src/AudioTools/AudioCodecs/CodecFloat.h @@ -14,6 +14,8 @@ namespace audio_tools { */ class DecoderFloat : public AudioDecoder { public: + /// Empty Constructor + DecoderFloat() = default; /** * @brief Construct a new DecoderFloat object * @@ -74,11 +76,10 @@ class DecoderFloat : public AudioDecoder { */ class EncoderFloat : public AudioEncoder { public: - // Empty Constructor - the output stream must be provided with begin() - EncoderFloat(){ - } + /// Empty Constructor + EncoderFloat() = default; - // Constructor providing the output stream + /// Constructor providing the output stream EncoderFloat(Print &out){ p_print = &out; }