diff --git a/macosx/coreaudio/JackCoreAudioDriver.cpp b/macosx/coreaudio/JackCoreAudioDriver.cpp index cf0a94cc..da4272c8 100644 --- a/macosx/coreaudio/JackCoreAudioDriver.cpp +++ b/macosx/coreaudio/JackCoreAudioDriver.cpp @@ -851,15 +851,6 @@ int JackCoreAudioDriver::AddListeners() void JackCoreAudioDriver::RemoveListeners() { -/* -#ifdef MAC_OS_X_VERSION_10_5 - AudioDeviceDestroyIOProcID(fDeviceID, fMesureCallbackID); -#else - AudioDeviceRemoveIOProc(fDeviceID, MeasureCallback); -#endif -*/ - AudioDeviceRemoveIOProc(fDeviceID, MeasureCallback); - AudioDeviceRemovePropertyListener(fDeviceID, 0, true, kAudioDeviceProcessorOverload, DeviceNotificationCallback); AudioDeviceRemovePropertyListener(fDeviceID, 0, true, kAudioHardwarePropertyDevices, DeviceNotificationCallback); AudioDeviceRemovePropertyListener(fDeviceID, 0, true, kAudioDevicePropertyNominalSampleRate, DeviceNotificationCallback); @@ -1096,7 +1087,6 @@ int JackCoreAudioDriver::Stop() #endif */ AudioDeviceRemoveIOProc(fDeviceID, MeasureCallback); - return (AudioOutputUnitStop(fAUHAL) == noErr) ? 0 : -1; }