diff options
Diffstat (limited to 'gr-audio-portaudio')
-rw-r--r-- | gr-audio-portaudio/src/audio_portaudio_sink.cc | 4 | ||||
-rw-r--r-- | gr-audio-portaudio/src/audio_portaudio_source.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-audio-portaudio/src/audio_portaudio_sink.cc b/gr-audio-portaudio/src/audio_portaudio_sink.cc index 65a38f911..9a3baf40e 100644 --- a/gr-audio-portaudio/src/audio_portaudio_sink.cc +++ b/gr-audio-portaudio/src/audio_portaudio_sink.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2006 Free Software Foundation, Inc. + * Copyright 2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -120,7 +120,7 @@ portaudio_sink_callback (const void *inputBuffer, audio_portaudio_sink_sptr audio_portaudio_make_sink (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_portaudio_sink_sptr (new audio_portaudio_sink (sampling_rate, + return gnuradio::get_initial_sptr(new audio_portaudio_sink (sampling_rate, dev, ok_to_block)); } diff --git a/gr-audio-portaudio/src/audio_portaudio_source.cc b/gr-audio-portaudio/src/audio_portaudio_source.cc index 484b7f1e5..23801a8bf 100644 --- a/gr-audio-portaudio/src/audio_portaudio_source.cc +++ b/gr-audio-portaudio/src/audio_portaudio_source.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2006 Free Software Foundation, Inc. + * Copyright 2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -119,7 +119,7 @@ portaudio_source_callback (const void *inputBuffer, audio_portaudio_source_sptr audio_portaudio_make_source (int sampling_rate, const std::string dev, bool ok_to_block) { - return audio_portaudio_source_sptr (new audio_portaudio_source (sampling_rate, + return gnuradio::get_initial_sptr(new audio_portaudio_source (sampling_rate, dev, ok_to_block)); } |