Bugzilla – Bug 10025
Pipline and select needs improvement.
Last modified: 2008-11-20 09:02:01 UTC
Pipeline should manage its own source stream select and not have streaming delegate its select.
On reflection, this is not really an issue. The streaming code selects on the "pipeline_reader" socket, effectively the output of the pipeline (which makes sense), not the source, as I had thought. Having another select for the source may slightly speed things up at the start but will not really make much difference. The streaming code does not rely on the select - it just uses it as an optimization, and still polls every 400ms. The concern that triode had, that the streaming code would not retry fast enough to keep the player fed when transcoding to PCM (WAV) because of small pipe buffers, is not valid because this is resolved by selecting the pipe.