alsasrc: after disconnecting S/PDIF cable, stopping pipeline hangs
Submitted by Manuel Weichselbaumer
Created attachment 371118
When using alsasrc with S/PDIF input, starting/stopping pipeline works perfectly. But when disconnecting cable during playback (or changing sample rate, stopping the signal) and setting the pipeline to NULL state causes a deadlock.
Log also prints the following message:
<alsasrc> xrun recovery -5: Input/output error
Please see attachment for example app.
Attachment 371118, "test app":