summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker RĂ¼melin2021-01-10 11:02:18 +0100
committerGerd Hoffmann2021-01-15 11:25:22 +0100
commitff69c481a2ad28e1cac87f921d42fbdfa950b77e (patch)
tree30d4fc09c2aa93b10e04199891334a86f3350089
parentsdlaudio: remove leftover SDL1.2 code (diff)
downloadqemu-ff69c481a2ad28e1cac87f921d42fbdfa950b77e.tar.gz
qemu-ff69c481a2ad28e1cac87f921d42fbdfa950b77e.tar.xz
qemu-ff69c481a2ad28e1cac87f921d42fbdfa950b77e.zip
audio: fix bit-rotted code
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-2-vr_qemu@t-online.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--audio/alsaaudio.c2
-rw-r--r--audio/sdlaudio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index a8e62542f9..6787e91bc1 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -599,7 +599,7 @@ static int alsa_open(bool in, struct alsa_params_req *req,
}
#ifdef DEBUG
- alsa_dump_info(req, obt, obtfmt, pdo);
+ alsa_dump_info(req, obt, obtfmt, apdo);
#endif
return 0;
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c
index bf3cfb8456..00cd12ba66 100644
--- a/audio/sdlaudio.c
+++ b/audio/sdlaudio.c
@@ -215,7 +215,7 @@ static void sdl_callback (void *opaque, Uint8 *buf, int len)
return;
}
- /* dolog ("in callback samples=%zu live=%zu\n", samples, sdl->live); */
+ /* dolog("callback: len=%d avail=%zu\n", len, hw->pending_emul); */
while (hw->pending_emul && len) {
size_t write_len;