[vlc-devel] [PATCH] auhal: add the "auhal-buffer-frame-size" option

Rémi Denis-Courmont remi at remlab.net
Wed Jul 22 16:43:02 CEST 2020

Le keskiviikkona 22. heinäkuuta 2020, 10.40.51 EEST Thomas Guillem a écrit :
> Hello,
> Indeed, you are right.
> I would love to add a delay enum when the decoder is configuring the aout.

That seems plain wrong to me.

To manage end-to-end delay in latency-sentive live inputs, the audio output 
needs to know the packetization time of the audio ES. That does obviously not 
fit in an enumeration.

And to manage interactive filters, I doubt that you can change the period time 
or the target buffer fill level live anyway. Rather you should keep the period 
time to 40 ms as it is (or at least was until recently), *and* rewind buffers 
where available.

Of course, this will break power savings, which is a conundrum in the audio-
only playback scenarii (especially on mobile devices).

Rémi Denis-Courmont

More information about the vlc-devel mailing list