Silencing warning in case of no audio backend.
h3rald h3rald@h3rald.com
Thu, 30 Jul 2026 09:45:24 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
devices/beeper.c
→
devices/beeper.c
@@ -51,6 +51,7 @@ #define XYW_HAVE_ALSA 1
#endif #endif +#ifndef(XYW_NO_AUDIO_BACKEND) // Synthesizes a mono 16-bit square wave. // Caller owns the returned buffer. // Shared by every backend below - this is the only part of tone@@ -81,6 +82,7 @@
*out_frames = frames; return buf; } +#endif #if defined(XYW_NO_AUDIO_BACKEND)