summaryrefslogtreecommitdiff
path: root/gr-audio-windows/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-windows/src')
-rw-r--r--gr-audio-windows/src/Makefile.am3
-rw-r--r--gr-audio-windows/src/audio_windows_sink.cc5
-rw-r--r--gr-audio-windows/src/audio_windows_source.cc6
3 files changed, 6 insertions, 8 deletions
diff --git a/gr-audio-windows/src/Makefile.am b/gr-audio-windows/src/Makefile.am
index dc91e140c..d3e3f5a85 100644
--- a/gr-audio-windows/src/Makefile.am
+++ b/gr-audio-windows/src/Makefile.am
@@ -44,7 +44,8 @@ libgnuradio_audio_windows_la_LIBADD = \
libgnuradio_audio_windows_la_LDFLAGS = \
$(LIBGNURADIO_CORE_EXTRA_LDFLAGS) \
- $(NO_UNDEFINED)
+ $(NO_UNDEFINED) \
+ $(LTVERSIONFLAGS)
if PYTHON
###################################
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));
}