summaryrefslogtreecommitdiff
path: root/gr-audio-oss/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-oss/src')
-rw-r--r--gr-audio-oss/src/Makefile.am3
-rw-r--r--gr-audio-oss/src/audio_oss_sink.cc4
-rw-r--r--gr-audio-oss/src/audio_oss_source.cc4
-rwxr-xr-xgr-audio-oss/src/qa_oss.py6
4 files changed, 8 insertions, 9 deletions
diff --git a/gr-audio-oss/src/Makefile.am b/gr-audio-oss/src/Makefile.am
index 614280639..628c9fd93 100644
--- a/gr-audio-oss/src/Makefile.am
+++ b/gr-audio-oss/src/Makefile.am
@@ -42,8 +42,7 @@ libgnuradio_audio_oss_la_LIBADD = \
$(GNURADIO_CORE_LA) \
$(OSS_LIBS)
-libgnuradio_audio_oss_la_LDFLAGS = \
- $(NO_UNDEFINED)
+libgnuradio_audio_oss_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
if PYTHON
###################################
diff --git a/gr-audio-oss/src/audio_oss_sink.cc b/gr-audio-oss/src/audio_oss_sink.cc
index a14edc9d2..8230ab9b6 100644
--- a/gr-audio-oss/src/audio_oss_sink.cc
+++ b/gr-audio-oss/src/audio_oss_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
*
@@ -47,7 +47,7 @@ default_device_name ()
audio_oss_sink_sptr
audio_oss_make_sink (int sampling_rate, const std::string dev, bool ok_to_block)
{
- return audio_oss_sink_sptr (new audio_oss_sink (sampling_rate, dev, ok_to_block));
+ return gnuradio::get_initial_sptr(new audio_oss_sink (sampling_rate, dev, ok_to_block));
}
audio_oss_sink::audio_oss_sink (int sampling_rate,
diff --git a/gr-audio-oss/src/audio_oss_source.cc b/gr-audio-oss/src/audio_oss_source.cc
index 1df98a5eb..fbb898f8c 100644
--- a/gr-audio-oss/src/audio_oss_source.cc
+++ b/gr-audio-oss/src/audio_oss_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
*
@@ -47,7 +47,7 @@ default_device_name ()
audio_oss_source_sptr
audio_oss_make_source (int sampling_rate, const std::string dev, bool ok_to_block)
{
- return audio_oss_source_sptr (new audio_oss_source (sampling_rate, dev, ok_to_block));
+ return gnuradio::get_initial_sptr(new audio_oss_source (sampling_rate, dev, ok_to_block));
}
diff --git a/gr-audio-oss/src/qa_oss.py b/gr-audio-oss/src/qa_oss.py
index 5427b50ec..365dabc25 100755
--- a/gr-audio-oss/src/qa_oss.py
+++ b/gr-audio-oss/src/qa_oss.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2005,2007 Free Software Foundation, Inc.
+# Copyright 2005,2007,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -23,7 +23,7 @@
from gnuradio import gr, gr_unittest
import audio_oss
-class qa_oss (gr_unittest.TestCase):
+class test_audio_oss (gr_unittest.TestCase):
def setUp (self):
self.tb = gr.top_block ()
@@ -37,4 +37,4 @@ class qa_oss (gr_unittest.TestCase):
pass
if __name__ == '__main__':
- gr_unittest.main ()
+ gr_unittest.run(test_audio_oss, "test_audio_oss.xml")