[vlc-devel] vlc: svn commit r23022 (funman)

Rafaël Carré funman at videolan.org
Tue Jan 15 11:34:39 CET 2008


Le Mon, 14 Jan 2008 23:49:48 +0100,
"Sigmund Augdal" <sigmund.augdal at gmail.com> a écrit :

> I did investigate a bit here and found that for me
> snd_pcm_status_get_delay() allways return 0, while snd_pcm_delay()
> return the value 15535, but sometimes slightly lower. Some times below
> 15400, but never above 15535 as far as I can see.
> The crittical point here is anyway that the replacement function used
> in the abovementioned changeset allways returns zero.
> 
> > Sigmund

Please try this simple workaround.

Is the state != RUNNING when snd_pcm_status_get_delay() returns 0 ?

If people with S/PDIF hardware & speakers can try this patch also that
would be a great benefit.

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa.diff
Type: text/x-patch
Size: 756 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080115/817a537b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080115/817a537b/attachment.sig>


More information about the vlc-devel mailing list