diff options
author | Michael Dickens <mlk@alum.mit.edu> | 2014-06-26 19:35:12 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-06-27 09:09:07 -0400 |
commit | d2031803f9849261b26da2e8e99112a2e0205977 (patch) | |
tree | 0380974a441d999ba10fe500182bf4730473ff5f /gr-audio/lib/osx/osx_source.cc | |
parent | a6bf31afb3e2bb1c3bd70cdcc66d393ff6d5feb6 (diff) |
gr-audio OSX: fix call to AudioHardwareRemovePropertyListener to match API.
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 |