]> git.proxmox.com Git - mirror_qemu.git/commit
audio: fix pc speaker init
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jan 2019 11:08:10 +0000 (12:08 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jan 2019 12:10:19 +0000 (13:10 +0100)
commitbd56d378842c238c8901536c06c20a4a51ee9761
treea327902be5773a46351955637896d79543f1ba6b
parentf6b06fcceef465de0cf2514c9f76fe0192896781
audio: fix pc speaker init

Get rid of the pcspk_state global, allow pc speaker
be added using "-device isa-pcspk".

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190124110810.1040-1-kraxel@redhat.com
hw/audio/pcspk.c