mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
audio clean up (initial patch by malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1131 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bf71c9d9b6
commit
fb065187e4
17 changed files with 337 additions and 333 deletions
13
hw/pc.c
13
hw/pc.c
|
@ -555,8 +555,19 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
|
|||
DMA_init(0);
|
||||
|
||||
if (audio_enabled) {
|
||||
/* no audio supported yet for win32 */
|
||||
AUD_init();
|
||||
#ifdef USE_SB16
|
||||
if (sb16_enabled)
|
||||
SB16_init ();
|
||||
#endif
|
||||
#ifdef CONFIG_ADLIB
|
||||
if (adlib_enabled)
|
||||
Adlib_init ();
|
||||
#endif
|
||||
#ifdef USE_GUS
|
||||
if (gus_enabled)
|
||||
GUS_init ();
|
||||
#endif
|
||||
}
|
||||
|
||||
floppy_controller = fdctrl_init(6, 2, 0, 0x3f0, fd_table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue