diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 21:47:22 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 21:47:22 +0000 |
commit | d929eba5d47f097302779d55427712c3ceb931ad (patch) | |
tree | 14ca7172d2abe2d446f96b885464b17044705d3e /hw/adlib.c | |
parent | 219fb125039e175a92aa14684ac688305b5143bd (diff) |
audio endianness API changes (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2042 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/adlib.c')
-rw-r--r-- | hw/adlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/adlib.c b/hw/adlib.c index f482d1fa84..b47bc3eece 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -301,6 +301,7 @@ int Adlib_init (AudioState *audio) as.freq = conf.freq; as.nchannels = SHIFT; as.fmt = AUD_FMT_S16; + as.endianness = AUDIO_HOST_ENDIANNESS; AUD_register_card (audio, "adlib", &s->card); @@ -310,8 +311,7 @@ int Adlib_init (AudioState *audio) "adlib", s, adlib_callback, - &as, - 0 /* XXX: little endian? */ + &as ); if (!s->voice) { Adlib_fini (s); |