diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-17 22:19:29 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-17 22:19:29 +0000 |
commit | f941aa256f2254c3f35f00fcf5d7f20dba55a5b7 (patch) | |
tree | 7e92c23171d665c8841d2afb7765ac45c94b70aa /audio/audio_template.h | |
parent | b93aebecb0844b220c1652b79e698db2afe3bbab (diff) | |
download | qemu-f941aa256f2254c3f35f00fcf5d7f20dba55a5b7.zip qemu-f941aa256f2254c3f35f00fcf5d7f20dba55a5b7.tar.gz qemu-f941aa256f2254c3f35f00fcf5d7f20dba55a5b7.tar.bz2 |
Qemu support for S32 and U32 alsa output, by Vassili Karpov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2427 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio_template.h')
-rw-r--r-- | audio/audio_template.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_template.h b/audio/audio_template.h index 13e1c3e..850e101 100644 --- a/audio/audio_template.h +++ b/audio/audio_template.h @@ -164,7 +164,7 @@ static int glue (audio_pcm_sw_init_, TYPE) ( [sw->info.nchannels == 2] [sw->info.sign] [sw->info.swap_endianness] - [sw->info.bits == 16]; + [audio_bits_to_index (sw->info.bits)]; sw->name = qemu_strdup (name); err = glue (audio_pcm_sw_alloc_resources_, TYPE) (sw); @@ -288,7 +288,7 @@ static HW *glue (audio_pcm_hw_add_new_, TYPE) (AudioState *s, audsettings_t *as) [hw->info.nchannels == 2] [hw->info.sign] [hw->info.swap_endianness] - [hw->info.bits == 16]; + [audio_bits_to_index (hw->info.bits)]; if (glue (audio_pcm_hw_alloc_resources_, TYPE) (hw)) { goto err1; |