diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 16:20:39 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 16:20:39 +0000 |
commit | 546754dc1d799ebfba1b2654a9a75541e9187674 (patch) | |
tree | ab6371d304cda5df86480998ba9f588df84a4ed7 /hw/adlib.c | |
parent | 8a40a180d39ec535b16a9456965a59722950cee2 (diff) |
pcm endianness is now explicit (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/adlib.c')
-rw-r--r-- | hw/adlib.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/adlib.c b/hw/adlib.c index fa2a03dffc..f482d1fa84 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -310,7 +310,8 @@ int Adlib_init (AudioState *audio) "adlib", s, adlib_callback, - &as + &as, + 0 /* XXX: little endian? */ ); if (!s->voice) { Adlib_fini (s); @@ -321,8 +322,8 @@ int Adlib_init (AudioState *audio) s->mixbuf = qemu_mallocz (s->samples << SHIFT); if (!s->mixbuf) { - dolog ("not enough memory for adlib mixing buffer (%d)\n", - s->samples << SHIFT); + dolog ("Could not allocate mixing buffer, %d samples (each %d bytes)\n", + s->samples, 1 << SHIFT); Adlib_fini (s); return -1; } |