Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andrmuel committed Apr 24, 2008
1 parent 6288ba3 commit 896a66b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 8 deletions.
Empty file added ChangeLog
Empty file.
Empty file added NEWS
Empty file.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ dnl

AC_INIT
AC_PREREQ(2.57)
AC_CONFIG_SRCDIR([src/lib/howto.i])
AC_CONFIG_SRCDIR([src/lib/dab.i])
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_TARGET([])
AM_INIT_AUTOMAKE(gr-howto-write-a-block,3.1.svn)
AM_INIT_AUTOMAKE(gr-dab,3.1.svn)

GR_X86_64
dnl LF_CONFIGURE_CC
Expand Down
33 changes: 33 additions & 0 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright 2004,2005,2007 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 3, 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.
#

TARGETS =


# To avoid build problems for folks who don't have xmlto installed, we
# don't build the docs by default.

# html: $(TARGETS)
all: $(TARGETS)

clean:
-${RM} -f $(TARGETS) $(BUILT_XML_FILES)

10 changes: 7 additions & 3 deletions src/lib/dab.i
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@
*/
GR_SWIG_BLOCK_MAGIC(dab,moving_sum_ff);

dab_moving_sum_ff_sptr dab_make_moving_sum_ff ();
dab_moving_sum_ff_sptr dab_make_moving_sum_ff (int length);

class dab_moving_sum_ff : public gr_sync_block
{
private:
dab_moving_sum_ff ();
private:
dab_moving_sum_ff (int length);

public:
int length() const {return history();}
void set_length(int length) {set_history(length);}
};
6 changes: 3 additions & 3 deletions src/lib/dab_moving_sum_ff.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_HOWTO_SQUARE2_FF_H
#define INCLUDED_HOWTO_SQUARE2_FF_H
#ifndef INCLUDED_DAB_MOVING_SUM_FF_H
#define INCLUDED_DAB_MOVING_SUM_FF_H

#include <gr_sync_block.h>

Expand Down Expand Up @@ -78,4 +78,4 @@ class dab_moving_sum_ff : public gr_sync_block
gr_vector_void_star &output_items);
};

#endif /* INCLUDED_HOWTO_SQUARE2_FF_H */
#endif /* INCLUDED_DAB_MOVING_SUM_FF_H */

0 comments on commit 896a66b

Please sign in to comment.