[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3810 - in gnuradio/branches/developers/jcorgan/cppwra
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r3810 - in gnuradio/branches/developers/jcorgan/cppwrap: config gnuradio-examples/c++ gnuradio-examples/c++/usrp_wfm_rcv |
Date: |
Tue, 17 Oct 2006 14:27:05 -0600 (MDT) |
Author: jcorgan
Date: 2006-10-17 14:27:05 -0600 (Tue, 17 Oct 2006)
New Revision: 3810
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/Makefile.am
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/usrp_wfm_rcv.cc
Modified:
gnuradio/branches/developers/jcorgan/cppwrap/config/grc_gnuradio_examples.m4
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/Makefile.am
Log:
Added dummy usrp_wfm_rcv C++ example.
Modified:
gnuradio/branches/developers/jcorgan/cppwrap/config/grc_gnuradio_examples.m4
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/config/grc_gnuradio_examples.m4
2006-10-17 20:11:28 UTC (rev 3809)
+++
gnuradio/branches/developers/jcorgan/cppwrap/config/grc_gnuradio_examples.m4
2006-10-17 20:27:05 UTC (rev 3810)
@@ -37,6 +37,7 @@
gnuradio-examples/python/usrp/Makefile \
gnuradio-examples/c++/Makefile \
gnuradio-examples/c++/dialtone/Makefile
+ gnuradio-examples/c++/usrp_wfm_rcv/Makefile
])
passed=yes
Modified:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/Makefile.am
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/Makefile.am
2006-10-17 20:11:28 UTC (rev 3809)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/Makefile.am
2006-10-17 20:27:05 UTC (rev 3810)
@@ -21,4 +21,7 @@
include $(top_srcdir)/Makefile.common
-SUBDIRS = dialtone
+SUBDIRS = \
+ dialtone \
+ usrp_wfm_rcv
+
Property changes on:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv
___________________________________________________________________
Name: svn:ignore
+ .libs
.deps
Makefile
Makefile.in
usrp_wfm_rcv
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/Makefile.am
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/Makefile.am
(rev 0)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/Makefile.am
2006-10-17 20:27:05 UTC (rev 3810)
@@ -0,0 +1,41 @@
+#
+# Copyright 2006 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+#
+
+include $(top_srcdir)/Makefile.common
+
+# For compiling within the GNU Radio build tree
+INCLUDES=$(STD_DEFINES_AND_INCLUDES)
+GR_AUDIO_ALSA_LIBS=$(top_builddir)/gr-audio-alsa/src/libgr_audio_alsa.la
+
+# For compiling outside the tree, these are the usual
+# INCLUDES = -I/usr/local/include -I/usr/local/include/gnuradio
+# GNURADIO_CORE_LIBS = -lgnuradio-core
+# GR_AUDIO_ALSA_LIBS = -lgr_audio_alsa
+
+noinst_PROGRAMS = usrp_wfm_rcv
+
+usrp_wfm_rcv_SOURCES = usrp_wfm_rcv.cc
+
+usrp_wfm_rcv_LDADD = \
+ $(GNURADIO_CORE_LIBS) \
+ $(GR_AUDIO_ALSA_LIBS)
+
+MOSTLYCLEANFILES = *~
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/usrp_wfm_rcv.cc
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/usrp_wfm_rcv.cc
(rev 0)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/usrp_wfm_rcv.cc
2006-10-17 20:27:05 UTC (rev 3810)
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2006 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include <gnuradio/audio_alsa_sink.h>
+#include <gr_flow_graph.h>
+
+int main()
+{
+ audio_alsa_sink_sptr sink;
+ gr_flow_graph_sptr fg;
+
+ sink = audio_alsa_make_sink(48000);
+
+ fg = gr_make_flow_graph();
+
+ fg->run();
+
+ return 0;
+}
Property changes on:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/c++/usrp_wfm_rcv/usrp_wfm_rcv.cc
___________________________________________________________________
Name: svn:eol-style
+ native
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3810 - in gnuradio/branches/developers/jcorgan/cppwrap: config gnuradio-examples/c++ gnuradio-examples/c++/usrp_wfm_rcv,
jcorgan <=