summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Huth2019-02-05 04:08:21 +0100
committerGerd Hoffmann2019-02-28 10:30:08 +0100
commit9399ef168377d9e7f2e33b1c2eb61751aa1b72fa (patch)
treecc16bfd8cc27b220f73b5ac5b0af145d04c59294 /include
parentaudio/sdlaudio: Remove the semaphore code (diff)
downloadqemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.tar.gz
qemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.tar.xz
qemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions