Audio shorter than the start threshold (375ms?) does not play

VERIFIED FIXED

Status

()

defect
VERIFIED FIXED
9 years ago
9 years ago

People

(Reporter: kinetik, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.