diff options
Diffstat (limited to 'gr-audio-alsa/src')
-rw-r--r-- | gr-audio-alsa/src/audio_alsa_sink.cc | 4 | ||||
-rw-r--r-- | gr-audio-alsa/src/audio_alsa_source.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-audio-alsa/src/audio_alsa_sink.cc b/gr-audio-alsa/src/audio_alsa_sink.cc index fe3f043bf..d6b7f84cf 100644 --- a/gr-audio-alsa/src/audio_alsa_sink.cc +++ b/gr-audio-alsa/src/audio_alsa_sink.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -70,7 +70,7 @@ audio_alsa_make_sink (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_alsa_sink_sptr (new audio_alsa_sink (sampling_rate, dev, + return gnuradio::get_initial_sptr(new audio_alsa_sink (sampling_rate, dev, ok_to_block)); } diff --git a/gr-audio-alsa/src/audio_alsa_source.cc b/gr-audio-alsa/src/audio_alsa_source.cc index 381e553f5..7b3d91b9d 100644 --- a/gr-audio-alsa/src/audio_alsa_source.cc +++ b/gr-audio-alsa/src/audio_alsa_source.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004,2006 Free Software Foundation, Inc. + * Copyright 2004,2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -68,7 +68,7 @@ audio_alsa_source_sptr audio_alsa_make_source (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_alsa_source_sptr (new audio_alsa_source (sampling_rate, dev, + return gnuradio::get_initial_sptr(new audio_alsa_source (sampling_rate, dev, ok_to_block)); } |