Hello,
I have been using dtas for many years and I am still *very* happy with
it. It is flexible and allows bit-perfect playback. Thank you very much
for developing and maintaining it!
I use dtas 0.21.0 with SoX_ng 14.8.0.1 and Ruby 3.4.10.
When I pause a playing FLAC with `dtas-ctl play_pause`, I get:
pause
sox FAIL sox_ng: `-' error writing output file: Broken pipe
idle
I reproduced this with an isolated dtas-player, a generated FLAC and
a dummy sink that reads PCM slowly. Neither my (gui) client nor an audio
device is involved. However, I see the same with USB cards (Focusrite,
RME ADI-2 DAC and VLink). Playback works perfect.
I see the same diagnostic when changing the SoX source with `source ed`
for a fade-out effect. As I understand the code, requeuing the source
resets the buffer and closes the pipe while SoX is still writing.
It doesn't bother me at all and isn't really a problem. I came across
it because I was having a hardware issue with a DAC (which is why I
looked closely at the logs).
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.
Thanks,
René