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>
This commit is contained in:
parent
ef26632e3a
commit
ff69c481a2
@ -599,7 +599,7 @@ static int alsa_open(bool in, struct alsa_params_req *req,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
alsa_dump_info(req, obt, obtfmt, pdo);
|
alsa_dump_info(req, obt, obtfmt, apdo);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ static void sdl_callback (void *opaque, Uint8 *buf, int len)
|
|||||||
return;
|
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) {
|
while (hw->pending_emul && len) {
|
||||||
size_t write_len;
|
size_t write_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user