diff options
author | Eric Blossom | 2010-08-03 13:36:18 -0700 |
---|---|---|
committer | Eric Blossom | 2010-08-03 13:43:42 -0700 |
commit | 0a9b999b5cce596f4de05828005f698047e14ce9 (patch) | |
tree | 3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-audio-jack/src | |
parent | fa56c39802a82e6e0e730813a57e86e1aea09a24 (diff) | |
download | gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.gz gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.bz2 gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.zip |
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gr-audio-jack/src')
-rw-r--r-- | gr-audio-jack/src/audio_jack_sink.cc | 4 | ||||
-rw-r--r-- | gr-audio-jack/src/audio_jack_source.cc | 4 |
2 files changed, 4 insertions, 4 deletions
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)); } diff --git a/gr-audio-jack/src/audio_jack_source.cc b/gr-audio-jack/src/audio_jack_source.cc index 392d246b4..ca3df51d7 100644 --- a/gr-audio-jack/src/audio_jack_source.cc +++ b/gr-audio-jack/src/audio_jack_source.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 * @@ -88,7 +88,7 @@ jack_source_process (jack_nframes_t nframes, void *arg) audio_jack_source_sptr audio_jack_make_source (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_jack_source_sptr (new audio_jack_source (sampling_rate, dev, ok_to_block)); + return gnuradio::get_initial_sptr(new audio_jack_source (sampling_rate, dev, ok_to_block)); } audio_jack_source::audio_jack_source (int sampling_rate, |