• Thomas Huth's avatar
    audio/sdlaudio: Allow audio playback with SDL2 · bcf19777
    Thomas Huth authored
    When compiling with SDL2, the semaphore trick used in sdlaudio.c
    does not work - QEMU locks up completely in this case. To avoid
    the hang and get at least some audio playback up and running (it's
    a little bit crackling, but better than nothing), we can use the
    SDL locking functions SDL_LockAudio() and SDL_UnlockAudio() to sync
    with the sound playback thread instead.
    Signed-off-by: 's avatarThomas Huth <thuth@redhat.com>
    Message-id: 1485852398-2327-1-git-send-email-thuth@redhat.com
    Signed-off-by: 's avatarGerd Hoffmann <kraxel@redhat.com>
    bcf19777
Name
Last commit
Last update
..
Makefile.objs Loading commit data...
alsaaudio.c Loading commit data...
audio.c Loading commit data...
audio.h Loading commit data...
audio_int.h Loading commit data...
audio_pt_int.c Loading commit data...
audio_pt_int.h Loading commit data...
audio_template.h Loading commit data...
audio_win_int.c Loading commit data...
audio_win_int.h Loading commit data...
coreaudio.c Loading commit data...
dsound_template.h Loading commit data...
dsoundaudio.c Loading commit data...
mixeng.c Loading commit data...
mixeng.h Loading commit data...
mixeng_template.h Loading commit data...
noaudio.c Loading commit data...
ossaudio.c Loading commit data...
paaudio.c Loading commit data...
rate_template.h Loading commit data...
sdlaudio.c Loading commit data...
spiceaudio.c Loading commit data...
trace-events Loading commit data...
wavaudio.c Loading commit data...
wavcapture.c Loading commit data...