dsoundaudio: fix log message
There is a mismatch between message and used argument. Change
the argument from frequency to format.
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-id: 9315afe5-5958-c0b4-ea1e-14769511a9d5@t-online.de
Message-Id: <20210110100239.27588-23-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
diff --git a/audio/audio_win_int.c b/audio/audio_win_int.c
index b7db349..5ea8157 100644
--- a/audio/audio_win_int.c
+++ b/audio/audio_win_int.c
@@ -54,7 +54,7 @@
break;
default:
- dolog ("Internal logic error: Bad audio format %d\n", as->freq);
+ dolog("Internal logic error: Bad audio format %d\n", as->fmt);
return -1;
}