summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker RĂ¼melin2021-01-10 11:02:39 +0100
committerGerd Hoffmann2021-01-15 11:25:22 +0100
commit2d96a0058709067d417425743d5ed5fbff6c1b54 (patch)
tree609ed05494c3ec5593eacea1c9bdeffc2483c424
parentdsoundaudio: enable f32 audio sample format (diff)
downloadqemu-2d96a0058709067d417425743d5ed5fbff6c1b54.tar.gz
qemu-2d96a0058709067d417425743d5ed5fbff6c1b54.tar.xz
qemu-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>
-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;
}