aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-11 00:03:20 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-11 00:03:20 +0000
commit575b5dc4dca9ba7cf61f85aa8b511477e2ebb03b (patch)
treecd4d7f8bddce692f98e70f7ab92db490f1d92083
parentb41cffbeb4220dec30f512dc9e22cf5adfa3d49f (diff)
compile fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1616 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--audio/coreaudio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index 8551938689..75e2b7d611 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -375,7 +375,8 @@ static int coreaudio_init_out (HWVoiceOut *hw, audsettings_t *as)
propertySize,
&core->outputStreamBasicDescription);
if (status != kAudioHardwareNoError) {
- coreaudio_logerr2 (status, typ, "Could not set samplerate %d\n", freq);
+ coreaudio_logerr2 (status, typ, "Could not set samplerate %d\n",
+ as->freq);
core->outputDeviceID = kAudioDeviceUnknown;
return -1;
}