summaryrefslogtreecommitdiff
path: root/gr-audio-osx/src/audio_osx_sink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-osx/src/audio_osx_sink.cc')
-rw-r--r--gr-audio-osx/src/audio_osx_sink.cc2
1 files changed, 1 insertions, 1 deletions
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,