Skip to content

Commit ce635a6

Browse files
committed
DecoderFloat empty constructor
1 parent c0c735d commit ce635a6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/AudioTools/AudioCodecs/CodecFloat.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ namespace audio_tools {
1414
*/
1515
class DecoderFloat : public AudioDecoder {
1616
public:
17+
/// Empty Constructor
18+
DecoderFloat() = default;
1719
/**
1820
* @brief Construct a new DecoderFloat object
1921
*
@@ -74,11 +76,10 @@ class DecoderFloat : public AudioDecoder {
7476
*/
7577
class EncoderFloat : public AudioEncoder {
7678
public:
77-
// Empty Constructor - the output stream must be provided with begin()
78-
EncoderFloat(){
79-
}
79+
/// Empty Constructor
80+
EncoderFloat() = default;
8081

81-
// Constructor providing the output stream
82+
/// Constructor providing the output stream
8283
EncoderFloat(Print &out){
8384
p_print = &out;
8485
}

0 commit comments

Comments
 (0)