Closed Bug 615452 Opened 11 years ago Closed 11 years ago

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

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: kinetik, Unassigned)

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