Home
last modified time | relevance | path

Searched hist:"9399 ef168377d9e7f2e33b1c2eb61751aa1b72fa" (Results 1 – 1 of 1) sorted by relevance

/qemu/audio/
H A Dsdlaudio.c9399ef168377d9e7f2e33b1c2eb61751aa1b72fa Tue Feb 05 03:08:21 UTC 2019 Thomas Huth <thuth@redhat.com> audio/sdlaudio: Simplify the sdl_callback function

At the end of the while-loop, either "samples" or "sdl->live" is zero, so
now that we've removed the semaphore code, the content of the while-loop
is always only executed once. Thus we can remove the while-loop now to
get rid of one indentation level here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1549336101-17623-3-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>