diff options
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, |