summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-27 10:07:45 -0500
committerXANTRONIX Development2022-02-27 10:07:45 -0500
commit699ddb5f2f4d2a85f23cdae3560898b2b6798812 (patch)
tree5f3f727c5cd76edb8388dbc91b753d691c340823 /src
parent50309ed6bea372b17a154c8a4d4afb53f4b16faf (diff)
downloadxas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.tar.gz
xas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.tar.bz2
xas-699ddb5f2f4d2a85f23cdae3560898b2b6798812.zip
Seems nicer
Diffstat (limited to 'src')
-rw-r--r--src/vox.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vox.c b/src/vox.c
index 5cfc9d0..e49510e 100644
--- a/src/vox.c
+++ b/src/vox.c
@@ -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) {