summaryrefslogtreecommitdiff
path: root/gr-audio/lib/osx/osx_source.cc
diff options
context:
space:
mode:
authorMichael Dickens <mlk@alum.mit.edu>2014-06-26 19:35:12 -0400
committerTom Rondeau <tom@trondeau.com>2014-06-27 09:09:07 -0400
commitd2031803f9849261b26da2e8e99112a2e0205977 (patch)
tree0380974a441d999ba10fe500182bf4730473ff5f /gr-audio/lib/osx/osx_source.cc
parenta6bf31afb3e2bb1c3bd70cdcc66d393ff6d5feb6 (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.cc6
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