From 938be1724e362119d114797322c500b5e17599ba Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Sat, 28 Oct 2023 07:22:19 +0100 Subject: [PATCH] speaker: Initialize debug fd Was outputing garbage on the console. Doh. Signed-off-by: Michel Pollet --- src/mii_speaker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mii_speaker.c b/src/mii_speaker.c index 42f1287..aa376bf 100644 --- a/src/mii_speaker.c +++ b/src/mii_speaker.c @@ -88,6 +88,7 @@ mii_speaker_init( mii_speaker_t *s) { s->mii = mii; + s->debug_fd = -1; s->fsize = MII_SPEAKER_FRAME_SIZE; #ifdef HAS_ALSA if (!s->off)