Skip to content

Commit f04f8da

Browse files
committed
Avoid crash when not using audio (#60)
1 parent e9dd44a commit f04f8da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/audio/null/null.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class Audio_Null: public AudioBase
5252
void reset () override {}
5353
bool write (uint_least32_t frames) override;
5454
void pause () override {}
55+
void clearBuffer() override {}
5556
};
5657

5758
#endif // AUDIO_NULL_H

0 commit comments

Comments
 (0)