librespot/playback/src/audio_backend
JasonLG1979 0d4367fca2 Improve the subprocess backend
Better error handling.

Move the checking of the shell command to start so a proper error can be thrown if it's None.

Use write instead of write_all for finer grained error handling and the ability to attempt a restart on write errors.

Use try_wait to skip flushing and killing the process if it's already dead.

Stop the player on shutdown to *mostly* prevent write errors from spamming the logs during shutdown. Previously Ctrl+c always resulted in a write error.
2022-06-20 17:19:31 -05:00
..
alsa.rs Update deps round 2 2022-05-23 13:17:18 -05:00
gstreamer.rs Backport #964 GStreamer backend cleanup (#979) 2022-05-21 20:55:55 +02:00
jackaudio.rs Sink: pass ownership of the packet on write() 2021-12-31 13:46:35 +01:00
mod.rs Sink: pass ownership of the packet on write() 2021-12-31 13:46:35 +01:00
pipe.rs Fix --device argument to various backends (#938) 2022-01-14 08:20:29 +01:00
portaudio.rs Fix clippy lint warning 2022-01-05 16:55:16 -06:00
pulseaudio.rs Use the librespot name arg for the app name in the PulseAudio backend 2022-03-19 15:09:26 -05:00
rodio.rs Fix --device argument to various backends (#938) 2022-01-14 08:20:29 +01:00
sdl.rs Update deps round 2 2022-05-23 13:17:18 -05:00
subprocess.rs Improve the subprocess backend 2022-06-20 17:19:31 -05:00