Skip to content

Commit 0127d34

Browse files
committed
I2SStream add missing destructor
1 parent d17c2ac commit 0127d34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AudioTools/CoreAudio/AudioI2S/I2SStream.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ namespace audio_tools {
3333
class I2SStream : public AudioStream {
3434
public:
3535
I2SStream() = default;
36-
36+
~I2SStream() { end(); }
37+
3738
#ifdef ARDUINO
3839
I2SStream(int mute_pin) {
3940
TRACED();

0 commit comments

Comments
 (0)