]> git.proxmox.com Git - mirror_qemu.git/commitdiff
audio: fix bit-rotted code
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 10 Jan 2021 10:02:18 +0000 (11:02 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 15 Jan 2021 10:25:22 +0000 (11:25 +0100)
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>
audio/alsaaudio.c
audio/sdlaudio.c

index a8e62542f97e01ef9290ac184c71ad0c30790cca..6787e91bc19826a4efcd617e165ab85add6a07e1 100644 (file)
@@ -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;
 
index bf3cfb845616d891b9f0bd6d24af3078b964a041..00cd12ba66a0f7fbd3f7f47cf84184ceb91f58c2 100644 (file)
@@ -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;