From 76be161c13b7148f5a2e17f277a3aa23774c82c2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 14 May 2014 21:57:27 +0200 Subject: make sure dls-encoder does a toggle --- src/dls.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/dls.c b/src/dls.c index 1a9cc7c..457a26d 100644 --- a/src/dls.c +++ b/src/dls.c @@ -55,7 +55,7 @@ void usage(char* name) fprintf(stderr, "DAB DLS encoder %s\n\n" "By CSP Innovazione nelle ICT s.c.a r.l. (http://rd.csp.it/)\n" "and Opendigitalradio.org\n\n" - "Reads DLS from /tmp/dls.file\n\n" + "Reads DLS from /tmp/dls.txt\n\n" "WARNING: This program has memory leaks! Do not attempt\n" "to leave it running for long periods of time!\n\n" " http://opendigitalradio.org\n\n", @@ -138,6 +138,13 @@ int main(int argc, char *argv[]) writeDLS(output_fd, dls_file, padlen); + /* Do it twice, so that there is for sure one toggle done + * by create_dls_datagroup + * + * It's ugly, I know. + */ + writeDLS(output_fd, dls_file, padlen); + return 0; } -- cgit v1.2.3