summaryrefslogtreecommitdiff
path: root/audio/audio_win_int.c
diff options
context:
space:
mode:
authorVolker RĂ¼melin <vr_qemu@t-online.de>2021-01-10 11:02:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2021-01-15 11:25:22 +0100
commit2d96a0058709067d417425743d5ed5fbff6c1b54 (patch)
tree609ed05494c3ec5593eacea1c9bdeffc2483c424 /audio/audio_win_int.c
parent1157506161e4dcee5a8681618b3b3e41f759b323 (diff)
downloadqemu-2d96a0058709067d417425743d5ed5fbff6c1b54.zip
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>
Diffstat (limited to 'audio/audio_win_int.c')
-rw-r--r--audio/audio_win_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_win_int.c b/audio/audio_win_int.c
index b7db34900c..5ea8157dfc 100644
--- a/audio/audio_win_int.c
+++ b/audio/audio_win_int.c
@@ -54,7 +54,7 @@ int waveformat_from_audio_settings (WAVEFORMATEX *wfx,
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;
}