[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/03: gr-audio OSX: fix call to AudioHardw
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/03: gr-audio OSX: fix call to AudioHardwareRemovePropertyListener to match API. |
Date: |
Fri, 27 Jun 2014 13:30:43 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit d2031803f9849261b26da2e8e99112a2e0205977
Author: Michael Dickens <address@hidden>
Date: Thu Jun 26 19:35:12 2014 -0400
gr-audio OSX: fix call to AudioHardwareRemovePropertyListener to match API.
---
gr-audio/lib/osx/osx_source.cc | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gr-audio/lib/osx/osx_source.cc b/gr-audio/lib/osx/osx_source.cc
index 93d857e..b51a656 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