[vlc-devel] Core audio S/PDIF output with latency calculation

David Fuhrmann david.fuhrmann at gmail.com
Sat Mar 9 19:59:18 CET 2013


Am 09.03.2013 um 19:50 schrieb Rémi Denis-Courmont <remi at remlab.net>:

> Le samedi 9 mars 2013 20:48:10, David Fuhrmann a écrit :
>> Am 09.03.2013 um 19:23 schrieb Rémi Denis-Courmont <remi at remlab.net>:
>>> Le samedi 9 mars 2013 20:12:49, David Fuhrmann a écrit :
>>>> Attached are 3 patches which enable TimeGet for S/PDIF output using the
>>>> auhal output module, if someone wants to test or has (constructive)
>>>> comments. They seem to work fine for me and I cannot notice any
>>>> synchronization problems anymore.
>>> 
>>> I don't follow the maths in patch 2.
>> 
>> Block length (i_length) is previously (before the converter is called)
>> calculated as CLOCK_FREQ * number of samples / rate.
> 
> DTS does not have samples to begin with...

Nevertheless, this value is used for calculating i_length in the first place. Don't ask me ho the samples value is set.


More information about the vlc-devel mailing list