From e877e7b9deddb962a9f02e7231e5bdb5575c072c Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Wed, 17 Jun 2026 15:53:17 -0400 Subject: [PATCH] WAV: Fix Typo on per-call custom tags and print to console log; #352 --- examples/cygwin_bat/complete_usage_options.txt | 6 +++--- src/dsd_main.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/cygwin_bat/complete_usage_options.txt b/examples/cygwin_bat/complete_usage_options.txt index b77a705..2992377 100644 --- a/examples/cygwin_bat/complete_usage_options.txt +++ b/examples/cygwin_bat/complete_usage_options.txt @@ -1,4 +1,4 @@ -Build Version: AW 2026-29-ge6d2dd7 +Build Version: AW 2026-30-g43d63b2 MBElib Version: 1.3.4 CODEC2 Support Enabled @@ -50,7 +50,7 @@ Input/Output options: -w Output synthesized speech to a single static .wav file. (Do not use with -P Per Call Switch) -P Enable Per Call WAV file saving. (Do not use with -w filename.wav single wav file switch) (Per Call works with everything now and doesn't require ncurses terminal!) - -j Custom Tag(s), colon delimted, to append to Per Call decoded .wav files. + -j Custom Tag(s), colon delimited, to append to Per Call decoded .wav files. -j TGT_LAPD:TAG_FIRE:FREQ_851987500 (Total 3 Tags, Maximum Letter Length = 100) -a Enable Call Alert Beep (Warning! Might be annoying.) @@ -223,4 +223,4 @@ Advanced Decoder options: -t Set Trunking or Scan Speed VC/sync loss hangtime in seconds. (default = 1 second) Trunking Example TCP: dsd-fme -fs -i tcp -U 4532 -T -C dmr_t3_chan.csv -G group.csv -N 2> log.txt - Trunking Example RTL: dsd-fme -fs -i rtl:0:450M:26:-2:8 -T -C connect_plus_chan.csv -G group.csv -N 2> log.txt + Trunking Example RTL: dsd-fme -fs -i rtl:0:450M:26:-2:8 -T -C connect_plus_chan.csv -G group.csv -N 2> log.txt \ No newline at end of file diff --git a/src/dsd_main.c b/src/dsd_main.c index f073771..7bc5ed3 100644 --- a/src/dsd_main.c +++ b/src/dsd_main.c @@ -1437,7 +1437,7 @@ printf (" -w Output synthesized speech to a single static .wav file. (Do not use with -P Per Call Switch)\n"); printf (" -P Enable Per Call WAV file saving. (Do not use with -w filename.wav single wav file switch)\n"); printf (" (Per Call works with everything now and doesn't require ncurses terminal!)\n"); - printf (" -j Custom Tag(s), colon delimted, to append to Per Call decoded .wav files.\n"); + printf (" -j Custom Tag(s), colon delimited, to append to Per Call decoded .wav files.\n"); printf (" -j TGT_LAPD:TAG_FIRE:FREQ_851987500 (Total 3 Tags, Maximum Letter Length = 100)\n"); printf (" -a Enable Call Alert Beep\n"); printf (" (Warning! Might be annoying.)\n"); @@ -1925,6 +1925,7 @@ case 'j': //custom wav tags appended to per-call wav files strncpy(opts.wav_custom_tag, optarg, 99); opts.wav_custom_tag[99] = '\0'; + fprintf(stderr, "Appending Tags %s to per-call wav files. \n", opts.wav_custom_tag); break; //this is a debug option hidden from users, but use it to replay .bin files on loop