diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-11 00:03:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-11 00:03:20 +0000 |
commit | 575b5dc4dca9ba7cf61f85aa8b511477e2ebb03b (patch) | |
tree | cd4d7f8bddce692f98e70f7ab92db490f1d92083 /audio/coreaudio.c | |
parent | b41cffbeb4220dec30f512dc9e22cf5adfa3d49f (diff) |
compile fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1616 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/coreaudio.c')
-rw-r--r-- | audio/coreaudio.c | 3 |
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; } |