From 0a9b999b5cce596f4de05828005f698047e14ce9 Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Tue, 3 Aug 2010 13:36:18 -0700 Subject: Modify all block factories to use gnuradio::get_initial_sptr. --- gr-audio-jack/src/audio_jack_sink.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-audio-jack/src/audio_jack_sink.cc') diff --git a/gr-audio-jack/src/audio_jack_sink.cc b/gr-audio-jack/src/audio_jack_sink.cc index 9dfc46751..6e39135c9 100644 --- a/gr-audio-jack/src/audio_jack_sink.cc +++ b/gr-audio-jack/src/audio_jack_sink.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2005,2006 Free Software Foundation, Inc. + * Copyright 2005,2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -87,7 +87,7 @@ jack_sink_process (jack_nframes_t nframes, void *arg) audio_jack_sink_sptr audio_jack_make_sink(int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_jack_sink_sptr (new audio_jack_sink (sampling_rate, dev, + return gnuradio::get_initial_sptr(new audio_jack_sink (sampling_rate, dev, ok_to_block)); } -- cgit