EliasOenal / multimon-ng

GNU General Public License v2.0
923 stars 206 forks source link

Pass --ignore-length to SoX to support piped WAV data #196

Closed weinholt closed 2 years ago

weinholt commented 2 years ago

When multimon-ng reads a WAV file it uses SoX to convert it to raw samples. If that data is streamed via a pipe then the WAV header will not contain the right length, so SoX will terminate early.

This adds --ignore-length to SoX's argument list, which will make it read until the end of the input file.

Closes: #194