From: Volker RĂ¼melin <[email protected]> Every emulated audio device has a way to enable audio playback. Don't start playback until the guest enables the audio device. This patch keeps the SDL2 device pause state in sync with hw->enabled.
Signed-off-by: Volker RĂ¼melin <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Tested-by: Thomas Huth <[email protected]> Message-id: [email protected] Message-Id: <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]> --- audio/sdlaudio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 431bfcfddd97..68126a99ab32 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -312,7 +312,6 @@ static int sdl_init_out(HWVoiceOut *hw, struct audsettings *as, s->initialized = 1; s->exit = 0; - SDL_PauseAudio (0); return 0; } -- 2.29.2
