mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-17 03:07:24 -05:00
Raw Signal Wav File Saving; #163
This commit is contained in:
@@ -1210,6 +1210,7 @@ usage ()
|
||||
printf (" -g <float> Audio Output Gain (Default: 0 = Auto; )\n");
|
||||
printf (" (Manual: 1 = 2%%; 50 = 100%%)\n");
|
||||
printf (" -w <file> Output synthesized speech to a .wav file, FDMA modes only.\n");
|
||||
printf (" -6 <file> Output raw audio .wav file (48K/1). (WARNING! Large File Sizes 1 Hour ~= 360 MB)\n");
|
||||
printf (" -7 <dir> Create/Use Custom directory for Per Call decoded .wav file saving.\n");
|
||||
printf (" (Single Nested Directory Only! Use Before the -P option!)\n");
|
||||
printf (" -8 Enable Experimental Source Audio Monitor (Pulse Audio Output Only!)\n");
|
||||
@@ -1939,6 +1940,13 @@ main (int argc, char **argv)
|
||||
openWavOutFile (&opts, &state);
|
||||
break;
|
||||
|
||||
case '6':
|
||||
strncpy(opts.wav_out_file_raw, optarg, 1023);
|
||||
opts.wav_out_file_raw[1023] = '\0';
|
||||
fprintf (stderr,"Writing raw audio to file %s\n", opts.wav_out_file_raw);
|
||||
openWavOutFileRaw (&opts, &state);
|
||||
break;
|
||||
|
||||
case 'f':
|
||||
if (optarg[0] == 'a') //
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user