Skip to content

Commit

Permalink
Merge pull request #196 from weinholt/ignore-length
Browse files Browse the repository at this point in the history
Pass --ignore-length to SoX to support piped WAV data
  • Loading branch information
EliasOenal committed Aug 16, 2022
2 parents b0c4ea4 + 5e08077 commit 5dc5b69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unixinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ static void input_file(unsigned int sample_rate, unsigned int overlap,
perror("dup2");
close(pipedes[1]); /* close writing pipe end */
execlp("sox", "sox", repeatable_sox?"-R":"-V2", mute_sox?"-V1":"-V2",
"--ignore-length",
"-t", type, fname,
"-t", "raw", "-esigned-integer", "-b16", "-r", srate, "-", "remix", "1",
NULL);
Expand Down

0 comments on commit 5dc5b69

Please sign in to comment.