diff options
Diffstat (limited to 'gr-audio/lib/osx/osx_source.cc')
-rw-r--r-- | gr-audio/lib/osx/osx_source.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gr-audio/lib/osx/osx_source.cc b/gr-audio/lib/osx/osx_source.cc index 93d857e4be..b51a6563ed 100644 --- a/gr-audio/lib/osx/osx_source.cc +++ b/gr-audio/lib/osx/osx_source.cc @@ -933,8 +933,7 @@ namespace gr { err = AudioHardwareRemovePropertyListener (kAudioHardwarePropertyDevices, reinterpret_cast<AudioHardwarePropertyListenerProc> - (&osx_source::hardware_listener) - reinterpret_cast<void*>(this)); + (&osx_source::hardware_listener)); #if _OSX_AU_DEBUG_ check_error(err, "AudioObjectRemovePropertyListener hardware"); #endif @@ -943,8 +942,7 @@ namespace gr { err = AudioHardwareRemovePropertyListener (kAudioHardwarePropertyDefaultInputDevice, reinterpret_cast<AudioHardwarePropertyListenerProc> - (&osx_source::default_listener), - reinterpret_cast<void*>(this)); + (&osx_source::default_listener)); #if _OSX_AU_DEBUG_ check_error(err, "AudioObjectRemovePropertyListener default"); #endif |