summaryrefslogtreecommitdiff
path: root/gr-audio-osx
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-osx')
-rw-r--r--gr-audio-osx/src/Makefile.am3
-rw-r--r--gr-audio-osx/src/audio_osx_sink.cc2
-rw-r--r--gr-audio-osx/src/audio_osx_source.cc2
3 files changed, 4 insertions, 3 deletions
diff --git a/gr-audio-osx/src/Makefile.am b/gr-audio-osx/src/Makefile.am
index 5bf28b8e7..ee9df7765 100644
--- a/gr-audio-osx/src/Makefile.am
+++ b/gr-audio-osx/src/Makefile.am
@@ -51,7 +51,8 @@ libgnuradio_audio_osx_la_LDFLAGS = \
-framework AudioUnit \
-framework CoreAudio \
-framework AudioToolbox \
- $(NO_UNDEFINED)
+ $(NO_UNDEFINED) \
+ $(LTVERSIONFLAGS)
if PYTHON
###################################
diff --git a/gr-audio-osx/src/audio_osx_sink.cc b/gr-audio-osx/src/audio_osx_sink.cc
index 20fd895b9..ec9b024e8 100644
--- a/gr-audio-osx/src/audio_osx_sink.cc
+++ b/gr-audio-osx/src/audio_osx_sink.cc
@@ -267,7 +267,7 @@ audio_osx_make_sink (int sampling_freq,
int channel_config,
int max_sample_count)
{
- return audio_osx_sink_sptr (new audio_osx_sink (sampling_freq,
+ return gnuradio::get_initial_sptr(new audio_osx_sink (sampling_freq,
dev,
do_block,
channel_config,
diff --git a/gr-audio-osx/src/audio_osx_source.cc b/gr-audio-osx/src/audio_osx_source.cc
index 538cfd8f6..757e65a9e 100644
--- a/gr-audio-osx/src/audio_osx_source.cc
+++ b/gr-audio-osx/src/audio_osx_source.cc
@@ -614,7 +614,7 @@ audio_osx_make_source (int sampling_freq,
int channel_config,
int max_sample_count)
{
- return audio_osx_source_sptr (new audio_osx_source (sampling_freq,
+ return gnuradio::get_initial_sptr(new audio_osx_source (sampling_freq,
device_name,
do_block,
channel_config,