[vlc-devel] Fixing long latency audio outputs like Airplay

Rémi Denis-Courmont remi at remlab.net
Sun Jun 21 23:31:50 CEST 2015

Le dimanche 21 juin 2015, 18:00:05 David Fuhrmann a écrit :
> The problem is that (the original) Airplay specification defines a fixed 2
> seconds latency for each audio device. Additionally, the auhal audio output
> has an internal buffer, which adds more delay. While we can try to keep the
> second latency down to a small value, we need to cope with a audio latency
> of some value slightly bigger than 2 secs in some way, to support Airplay.

Currently the audio output cannot specify its latency requirements to 
upstream. Audio output latency is generally assumed to be 40 milliseconds or 
less. This is probably not easy to fix, as it probably affects ES output, clock 
and decoder buffering.

Rémi Denis-Courmont

More information about the vlc-devel mailing list