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 0127d34 commit 776f8d6Copy full SHA for 776f8d6
src/AudioTools/AudioCodecs/AudioEncoded.h
@@ -70,6 +70,8 @@ class EncodedAudioOutput : public ModifyingOutput {
70
active = false;
71
}
72
73
+ virtual ~EncodedAudioOutput() { end(); }
74
+
75
/// Define object which need to be notified if the basinfo is changing
76
void addNotifyAudioChange(AudioInfoSupport &bi) override {
77
TRACEI();
@@ -285,6 +287,8 @@ class EncodedAudioStream : public ReformatBaseStream {
285
287
286
288
EncodedAudioStream(AudioEncoder *encoder) { setEncoder(encoder); }
289
290
+ virtual ~EncodedAudioStream() { end(); }
291
292
void setEncoder(AudioEncoder *encoder) { enc_out.setEncoder(encoder); }
293
294
void setDecoder(AudioDecoder *decoder) { enc_out.setDecoder(decoder); }
0 commit comments