mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
audio: consolidate audio_init()
consolidate audio_init() and remove references to shoundhw. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
bec43cc3b6
commit
0dfa5ef90d
8 changed files with 41 additions and 80 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "kvm.h"
|
||||
#include "sysemu.h"
|
||||
#include "sysbus.h"
|
||||
#include "arch_init.h"
|
||||
#include "blockdev.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
@ -148,7 +149,7 @@ static void pc_init1(ram_addr_t ram_size,
|
|||
}
|
||||
}
|
||||
|
||||
pc_audio_init(pci_enabled ? pci_bus : NULL, isa_irq);
|
||||
audio_init(isa_irq, pci_enabled ? pci_bus : NULL);
|
||||
|
||||
pc_cmos_init(below_4g_mem_size, above_4g_mem_size, boot_device,
|
||||
idebus[0], idebus[1], floppy_controller, rtc_state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue