coreaudio: don't start playback in init routine
commit53e78d1cfb43df733a278172dd11bc40d2fe69c8
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 13 Dec 2020 13:05:26 +0000 (13 14:05 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Dec 2020 08:14:17 +0000 (15 09:14 +0100)
treec6c67cea1a0d201abda0d52a2bdf6ea8df20134e
parent1d47067394ef79c2a7ed9d4dd0b18cdf24f88f2f
coreaudio: don't start playback in init routine

Every emulated audio device has a way to enable audio playback. Don't
start playback until the guest enables the audio device to keep the
Core Audio device run state in sync with hw->enabled.

Tested-by: Howard Spoelstra <hsp.cat7@gmail.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-id: 20201213130528.5863-2-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/coreaudio.c