aboutsummaryrefslogtreecommitdiffstats
path: root/src/tv
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-11-13 19:15:09 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-11-13 19:15:09 +0100
commit669705c6edb5cfbcb2f0ca672612777d1e819aa6 (patch)
tree18738791ae76f22a2dedf2007c202bfaad72d69b /src/tv
parentfc1c5de54746857cc7b21e44b83b042792b3ddaa (diff)
Restructure: Move filters from common code to 'libfilter'
Diffstat (limited to 'src/tv')
-rw-r--r--src/tv/Makefile.am1
-rw-r--r--src/tv/bas.c2
-rw-r--r--src/tv/main.c4
3 files changed, 4 insertions, 3 deletions
diff --git a/src/tv/Makefile.am b/src/tv/Makefile.am
index ffee6fd..b6d20de 100644
--- a/src/tv/Makefile.am
+++ b/src/tv/Makefile.am
@@ -16,6 +16,7 @@ osmotv_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/common/libimage.a \
$(top_builddir)/src/common/libcommon.a \
+ $(top_builddir)/src/libfilter/libfilter.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
$(SOAPY_LIBS) \
diff --git a/src/tv/bas.c b/src/tv/bas.c
index fb8c70b..86df443 100644
--- a/src/tv/bas.c
+++ b/src/tv/bas.c
@@ -21,7 +21,7 @@
#include <stdint.h>
#include <math.h>
#include "../common/sample.h"
-#include "../common/iir_filter.h"
+#include "../libfilter/iir_filter.h"
#include "bas.h"
#include "vcr.h"
#include "fubk.h"
diff --git a/src/tv/main.c b/src/tv/main.c
index a107d53..115d97d 100644
--- a/src/tv/main.c
+++ b/src/tv/main.c
@@ -28,7 +28,7 @@ enum paging_signal;
#include <signal.h>
#include <math.h>
#include "../common/sample.h"
-#include "../common/iir_filter.h"
+#include "../libfilter/iir_filter.h"
#include "../common/fm_modulation.h"
#include "../common/wave.h"
#include "../common/img.h"
@@ -260,7 +260,7 @@ static int handle_options(int argc, char **argv)
return skip_args;
}
-static void tx_bas(sample_t *sample_bas, __attribute__((__unused__)) sample_t *sample_tone, uint8_t *power_tone, int samples)
+static void tx_bas(sample_t *sample_bas, __attribute__((__unused__)) sample_t *sample_tone, __attribute__((__unused__)) uint8_t *power_tone, int samples)
{
/* catch signals */
signal(SIGINT, sighandler);