diff options
author | malc | 2009-05-14 01:11:35 +0200 |
---|---|---|
committer | malc | 2009-05-14 01:20:43 +0200 |
commit | 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch) | |
tree | 6b83da7787156494d16c58e2d5a41396a01a964f /hw/adlib.c | |
parent | Remove redundant pcnet.o (diff) | |
download | qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.gz qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.xz qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.zip |
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/adlib.c')
-rw-r--r-- | hw/adlib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/adlib.c b/hw/adlib.c index 8c2331955b..ea46931bc6 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -278,7 +278,6 @@ static void Adlib_fini (AdlibState *s) int Adlib_init (qemu_irq *pic) { - AudioState *audio = AUD_init(); AdlibState *s = &glob_adlib; struct audsettings as; @@ -308,7 +307,7 @@ int Adlib_init (qemu_irq *pic) as.fmt = AUD_FMT_S16; as.endianness = AUDIO_HOST_ENDIANNESS; - AUD_register_card (audio, "adlib", &s->card); + AUD_register_card ("adlib", &s->card); s->voice = AUD_open_out ( &s->card, |