When I play a sound using Sink, there is a slight crackling to be heard in the output, like very short interruptions in the sound. This crackling is not present if I play the same source directly via play_raw. In src/sink.rs:90, if instead of submitting the source to queue_tx, I call play_raw directly, the crackling goes away (but of course that makes appending no longer work). So it seems to be related to the use of queues in Sink, but I don't know enough to investigate further.
I'm running Linux Mint 19.3.
When I play a sound using
Sink, there is a slight crackling to be heard in the output, like very short interruptions in the sound. This crackling is not present if I play the same source directly viaplay_raw. In src/sink.rs:90, if instead of submitting the source toqueue_tx, I callplay_rawdirectly, the crackling goes away (but of course that makes appending no longer work). So it seems to be related to the use of queues inSink, but I don't know enough to investigate further.I'm running Linux Mint 19.3.