aboutsummaryrefslogtreecommitdiff
path: root/audio/coreaudio.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-17 22:19:29 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-17 22:19:29 +0000
commitf941aa256f2254c3f35f00fcf5d7f20dba55a5b7 (patch)
tree7e92c23171d665c8841d2afb7765ac45c94b70aa /audio/coreaudio.c
parentb93aebecb0844b220c1652b79e698db2afe3bbab (diff)
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/coreaudio.c')
-rw-r--r--audio/coreaudio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index 8512f122b0..74d432f91e 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -294,7 +294,6 @@ static int coreaudio_init_out (HWVoiceOut *hw, audsettings_t *as)
coreaudioVoiceOut *core = (coreaudioVoiceOut *) hw;
UInt32 propertySize;
int err;
- int bits = 8;
const char *typ = "playback";
AudioValueRange frameRange;
@@ -305,10 +304,6 @@ static int coreaudio_init_out (HWVoiceOut *hw, audsettings_t *as)
return -1;
}
- if (as->fmt == AUD_FMT_S16 || as->fmt == AUD_FMT_U16) {
- bits = 16;
- }
-
audio_pcm_init_info (&hw->info, as);
/* open default output device */