qemu-e2k/audio
Thomas Huth 9399ef1683 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>
2019-02-28 10:30:08 +01:00
..
alsaaudio.c audio/alsaaudio: Remove compiler check around pragma 2018-12-12 10:01:13 +01:00
audio_int.h audio: Remove AudioState from "qemu/typedefs.h" 2019-01-22 05:14:33 +01:00
audio_pt_int.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
audio_pt_int.h
audio_template.h audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
audio_win_int.c
audio_win_int.h
audio.c audio: Do not check for audio_calloc failure 2019-02-28 10:26:53 +01:00
audio.h
coreaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
dsound_template.h
dsoundaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
Makefile.objs audio/sdl: build as module 2018-03-12 11:18:27 +01:00
mixeng_template.h
mixeng.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
mixeng.h
noaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
ossaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
paaudio.c audio: check for pulseaudio daemon pidfile 2019-01-24 13:11:08 +01:00
rate_template.h audio: st_rate_flow exist a infinite loop 2017-07-17 11:08:59 +02:00
sdlaudio.c audio/sdlaudio: Simplify the sdl_callback function 2019-02-28 10:30:08 +01:00
spiceaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
trace-events audio: add audio timer trace points 2018-07-03 11:46:47 +02:00
wavaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
wavcapture.c wavcapture: Convert to error_report 2019-02-14 11:46:30 +01:00