aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-14 21:57:27 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-14 21:57:27 +0200
commit76be161c13b7148f5a2e17f277a3aa23774c82c2 (patch)
treee0dda7801253909cd3ea98f1cd86a939d72a8971 /src
parent137a3fe4d85b214816a66e9b30d20c29c628a271 (diff)
downloadODR-AudioEnc-76be161c13b7148f5a2e17f277a3aa23774c82c2.tar.gz
ODR-AudioEnc-76be161c13b7148f5a2e17f277a3aa23774c82c2.tar.bz2
ODR-AudioEnc-76be161c13b7148f5a2e17f277a3aa23774c82c2.zip
make sure dls-encoder does a toggle
Diffstat (limited to 'src')
-rw-r--r--src/dls.c9
1 files changed, 8 insertions, 1 deletions
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;
}