compile fix (malc)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1616 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-11-11 00:03:20 +00:00
parent b41cffbeb4
commit 575b5dc4dc

View File

@ -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;
}