<br><br><div><span class="gmail_quote">On 1/14/08, <b class="gmail_sendername">Rafaël Carré</b> <<a href="mailto:funman@videolan.org">funman@videolan.org</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Le Sun, 13 Jan 2008 21:18:43 +0100,<br>"Sigmund Augdal" <<a href="mailto:sigmund.augdal@gmail.com">sigmund.augdal@gmail.com</a>> a écrit :<br><br>> On 1/13/08, Rafaël Carré <<a href="mailto:funman@videolan.org">
funman@videolan.org</a>> wrote:<br>> ><br>> > Le Sat, 12 Jan 2008 21:01:31 +0100,<br>> > "Sigmund Augdal" <<a href="mailto:dnumgis@videolan.org">dnumgis@videolan.org</a>> a écrit :<br>
> ><br>> > > On 11/11/07, Subversion daemon <<a href="mailto:svn@videolan.org">svn@videolan.org</a>> wrote:<br>> > > ><br>> > > > r23022 | funman | 2007-11-11 19:48:07 +0100 (Sun, 11 Nov 2007)
<br>> > > > | 3 lines Changed paths:<br>> > > >    M /trunk/modules/audio_output/alsa.c<br>> > > ><br>> > > > alsa: use the pcm status to compute the delay. fix #894 (spdif<br>
> > > > passthrough)<br>> > > > Please report loudly any regression, using spdif or not.<br>> > ><br>> > ><br>> > > THIS CHANGESET CAUSES MY VLC TO SPAM THE LOG WITH MESSAGES LIKE
<br>> > > THIS: [00000375] main audio output debug: audio output is<br>> > > starving (30777), playing silence<br>> ><br>> > Thanks for reporting loudly ;)<br>> ><br>> > > (I'm not sure if the audio output has actually degraded at all,
<br>> > > but you asked for loud replies for any regressions)<br>> ><br>> > I'm experiencing the same problem with OSS, so I doubt it is an ALSA<br>> > specific regression.<br>> > Did you try reverting 
alsa.c ?<br>> ><br>> > Note that to get rid of these messages, i use pause twice.<br>><br>><br>> I get these messages perhaps 90% of the time with trunk, but not ever<br>> if I revert this specific change. I also don't get these with OSS.
<br><br>thresh also reported a "clicking sound" problem with this changeset.<br><br>I will study again alsa api, and put some more verbose debug to find<br>what's wrong.<br><br>I suppose I didn't catch some corner case.
</blockquote><div><br>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.
<br>The crittical point here is anyway that the replacement function used in the abovementioned changeset allways returns zero. </div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
> Sigmund<br>><br>> > Sigmund<br>> > ><br>> > > > <a href="http://trac.videolan.org/vlc/changeset/23022">http://trac.videolan.org/vlc/changeset/23022</a><br>> > > > _______________________________________________
<br>> > > > vlc-devel mailing list<br>> > > > To unsubscribe or modify your subscription options:<br>> > > > <a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel
</a><br>> > > ><br>> ><br>> ><br>> > --<br>> > Rafaël Carré<br>> ><br>> > _______________________________________________<br>> > vlc-devel mailing list<br>> > To unsubscribe or modify your subscription options:
<br>> > <a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br>> ><br>> ><br>> ><br><br><br>--<br>Rafaël Carré<br><br>_______________________________________________
<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br></blockquote></div>
<br>