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-alsa/src/audio_alsa_source.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-audio-alsa/src/audio_alsa_source.cc') 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)); } -- cgit