A glitch due to another stream starting to play when recording from a single sink input
Submitted by Tanu Kaskinen
Assigned to pul..@..op.org
Steps to reproduce:
paplay some_file.ogg (the file should be long enough to be able to do the next steps while paplay is running)
Check the sink input index of paplay. Here we'll assume that it's 0.
parecord --monitor-stream=0 test.wav
Stop parecord, and then you can stop the paplay instances too.
test.wav contains audio from some_file.ogg without glitches.
test.wav contains audio from some_file.ogg, but with a glitch (pause, some repeated audio) at the moment when some_other_file.ogg started to play.
Tested with an alsa sink (support for sink rewinding is likely to be important).