summaryrefslogtreecommitdiff
path: root/gr-audio-windows/src
diff options
context:
space:
mode:
authorEric Blossom2010-08-03 13:36:18 -0700
committerEric Blossom2010-08-03 13:43:42 -0700
commit0a9b999b5cce596f4de05828005f698047e14ce9 (patch)
tree3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-audio-windows/src
parentfa56c39802a82e6e0e730813a57e86e1aea09a24 (diff)
downloadgnuradio-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-windows/src')
-rw-r--r--gr-audio-windows/src/audio_windows_sink.cc5
-rw-r--r--gr-audio-windows/src/audio_windows_source.cc6
2 files changed, 4 insertions, 7 deletions
diff --git a/gr-audio-windows/src/audio_windows_sink.cc b/gr-audio-windows/src/audio_windows_sink.cc
index 1fa915072..a47871954 100644
--- a/gr-audio-windows/src/audio_windows_sink.cc
+++ b/gr-audio-windows/src/audio_windows_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
*
@@ -81,8 +81,7 @@ audio_windows_sink::~audio_windows_sink ()
audio_windows_sink_sptr
audio_windows_make_sink (int sampling_freq, const std::string dev)
{
- return audio_windows_sink_sptr (new
- audio_windows_sink (sampling_freq, dev));
+ return gnuradio::get_initial_sptr (new audio_windows_sink (sampling_freq, dev));
}
diff --git a/gr-audio-windows/src/audio_windows_source.cc b/gr-audio-windows/src/audio_windows_source.cc
index 5cdfb8c84..a88923afd 100644
--- a/gr-audio-windows/src/audio_windows_source.cc
+++ b/gr-audio-windows/src/audio_windows_source.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
*
@@ -128,9 +128,7 @@ audio_windows_source::~audio_windows_source ()
audio_windows_source_sptr
audio_windows_make_source (int sampling_freq, const std::string dev)
{
- return audio_windows_source_sptr (new
- audio_windows_source (sampling_freq,
- dev));
+ return gnuradio::get_initial_sptr (new audio_windows_source (sampling_freq, dev));
}