qemu/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.c audio: Do not check for audio_calloc failure 2019-02-28 10:26:53 +01:00
audio.h replay: add record/replay for audio passthrough 2017-03-01 15:11:44 +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 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
audio_template.h audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
audio_win_int.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
audio_win_int.h Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
coreaudio.c audio: add driver registry 2018-03-12 11:18:26 +01:00
dsound_template.h dsoundaudio: remove *_retries kludges 2015-06-15 12:42:48 +02:00
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.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
mixeng.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
mixeng_template.h audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
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