Commit 575b5dc4dca9ba7cf61f85aa8b511477e2ebb03b

Authored by bellard
1 parent b41cffbe

compile fix (malc)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1616 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 1 deletions
audio/coreaudio.c
... ... @@ -375,7 +375,8 @@ static int coreaudio_init_out (HWVoiceOut *hw, audsettings_t *as)
375 375 propertySize,
376 376 &core->outputStreamBasicDescription);
377 377 if (status != kAudioHardwareNoError) {
378   - coreaudio_logerr2 (status, typ, "Could not set samplerate %d\n", freq);
  378 + coreaudio_logerr2 (status, typ, "Could not set samplerate %d\n",
  379 + as->freq);
379 380 core->outputDeviceID = kAudioDeviceUnknown;
380 381 return -1;
381 382 }
... ...