We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d08cc commit a53052eCopy full SHA for a53052e
src/AudioTools/AudioCodecs/CodecFLACFoxen.h
@@ -11,6 +11,8 @@ namespace audio_tools {
11
12
/**
13
* @brief Foxen FLAC Decoder using https://github.com/astoeckel/libfoxenflac
14
+ * Unlike FLACDecoder which is a streaming decoder, this is a simple
15
+ * AudioDecoder implementation.
16
* @ingroup codecs
17
* @ingroup decoder
18
* @author Phil Schatzmann
@@ -121,7 +123,7 @@ class FLACDecoderFoxen : public AudioDecoder {
121
123
122
124
bool decode() {
125
TRACED();
- if (flac == nullptr) return false;
126
+ if (!is_active) return false;
127
uint32_t out_len = out.size();
128
uint32_t buf_len = write_buffer.available();
129
uint32_t buf_len_result = buf_len;
0 commit comments