Skip to content

Commit

Permalink
Avoid crash when not using audio (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiemost committed Nov 10, 2024
1 parent e9dd44a commit f04f8da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/null/null.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class Audio_Null: public AudioBase
void reset () override {}
bool write (uint_least32_t frames) override;
void pause () override {}
void clearBuffer() override {}
};

#endif // AUDIO_NULL_H

0 comments on commit f04f8da

Please sign in to comment.