Rene Maurer <[email protected]> wrote:
> My comment/question:
> Is this the intended trade-off? Would a clean source shutdown before
> closing the pipe be feasible without compromising pause/resume position
> and playback behavior? I would prefer to keep genuine SoX errors
> visible rather than suppress its stderr.

It's been a long while since I touched that part of the code but
still use it every day.  I haven't updated to sox_ng, yet,
either.

I think the alternative with shutting down the source first
is/was getting buffer underrun warning messages from ALSA if
closing the source, first.  I'm not sure about PulseAudio or
other sink types.

Pause/resume position could be slightly off, too, depending on
buffer sizes.

Maybe sox_ng can be taught to optionally ignore EPIPE.  I don't
think we should filter out certain messages in stderr since
there is a possibility of localized translations being in use
(and I don't want to waste my time or computing resources on
such things)

Reply via email to