summaryrefslogtreecommitdiff
path: root/gr-audio-jack/src/audio_jack_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-jack/src/audio_jack_source.cc')
-rw-r--r--gr-audio-jack/src/audio_jack_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-audio-jack/src/audio_jack_source.cc b/gr-audio-jack/src/audio_jack_source.cc
index 392d246b4..ca3df51d7 100644
--- a/gr-audio-jack/src/audio_jack_source.cc
+++ b/gr-audio-jack/src/audio_jack_source.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2005,2006 Free Software Foundation, Inc.
+ * Copyright 2005,2006,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -88,7 +88,7 @@ jack_source_process (jack_nframes_t nframes, void *arg)
audio_jack_source_sptr
audio_jack_make_source (int sampling_rate, const std::string dev, bool ok_to_block)
{
- return audio_jack_source_sptr (new audio_jack_source (sampling_rate, dev, ok_to_block));
+ return gnuradio::get_initial_sptr(new audio_jack_source (sampling_rate, dev, ok_to_block));
}
audio_jack_source::audio_jack_source (int sampling_rate,