aboutsummaryrefslogtreecommitdiffstats
path: root/src/tv/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tv/main.c')
-rw-r--r--src/tv/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tv/main.c b/src/tv/main.c
index f632a24..ab68d40 100644
--- a/src/tv/main.c
+++ b/src/tv/main.c
@@ -473,6 +473,9 @@ int main(int argc, char *argv[])
exit(0);
}
+ /* inits */
+ fm_init(0);
+
if (!wave_file) {
#ifdef HAVE_SDR
rc = sdr_configure(samplerate);
@@ -499,6 +502,9 @@ int main(int argc, char *argv[])
return -EINVAL;
}
+ /* exits */
+ fm_exit();
+
return 0;
}