diff options
-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; } |