In the ALSA sydneyaudio backend, there is a start threshold that must be reached before playback begins. This value depends on the latency we configure the device with during initialization. The current value is 375ms (I think). If audio shorter than the start threshold is played, the data is written to sydneyaudio, but since it never reaches the start threshold, it's never audible to the user. It's possible to detect this in sa_stream_drain by noticing that the stream state is still PREPARED and starting it before draining. However, this solution fails with the alsa-pulse plugin present due to bug 582513, which causes drain to return immediately in some cases.
This was fixed by the change discussed above being included in bug 616800.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.