Browse Source

Some more cleanup in JackCoreAudioDriver.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3003 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 16 years ago
parent
commit
3484f6182f
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      macosx/coreaudio/JackCoreAudioDriver.cpp

+ 0
- 10
macosx/coreaudio/JackCoreAudioDriver.cpp View File

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



Loading…
Cancel
Save