summaryrefslogtreecommitdiff
path: root/gr-audio-alsa
diff options
context:
space:
mode:
authorJohnathan Corgan2010-08-03 14:21:36 -0700
committerJohnathan Corgan2010-08-03 14:21:36 -0700
commit62328b4e78e2df20bccb2983bbe7591f99ba013f (patch)
treec249fa5639c2c46066782012b7075bb8b7879335 /gr-audio-alsa
parent8034e2cd49fd71bfdf1ed587d49781a444e1cced (diff)
parent0a9b999b5cce596f4de05828005f698047e14ce9 (diff)
downloadgnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.gz
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.bz2
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.zip
Merge branch 'maint'
Diffstat (limited to 'gr-audio-alsa')
-rw-r--r--gr-audio-alsa/src/audio_alsa_sink.cc4
-rw-r--r--gr-audio-alsa/src/audio_alsa_source.cc4
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));
}