diff options
author | XANTRONIX Development | 2022-02-27 10:07:45 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-27 10:07:45 -0500 |
commit | 699ddb5f2f4d2a85f23cdae3560898b2b6798812 (patch) | |
tree | 5f3f727c5cd76edb8388dbc91b753d691c340823 | |
parent | 50309ed6bea372b17a154c8a4d4afb53f4b16faf (diff) | |
download | xas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.tar.gz xas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.tar.bz2 xas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.zip |
Seems nicer
-rw-r--r-- | src/vox.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -129,10 +129,8 @@ static int vox_start(xas_vox *vox) { snprintf(sample_rate, sizeof(sample_rate)-1, "%zu", vox->format.sample_rate); if (vox->tmpfile[0] && vox->tmpfd > 0) { - args[6] = "-eval"; - args[7] = vox->tmpfile; - - argn += 2; + args[argn++] = "-eval"; + args[argn++] = vox->tmpfile; } if ((argv = args_concat(argn, args, vox->argn, vox->args, &argc)) == NULL) { |