[vlc-devel] [PACKAGERS] [RFCv2] PulseAudio removal

Rémi Denis-Courmont remi at remlab.net
Tue Apr 5 13:07:07 CEST 2011


On Tue, 05 Apr 2011 11:15:50 +0100, Colin Guthrie <gmane at colin.guthr.ie>
wrote:
> 'Twas brillig, and Colin Guthrie at 05/04/11 10:49 did gyre and gimble:
>> That said, I wasn't aware from the API, that VLC allows
> 
> Incomplete sentence:
> 
> That said, I wasn't aware from the API, that VLC allows for buffer
> rewrites. The Open/Play/Close API did not immediately seem to allow this
> and the alsa output does not call snd_pcm_rewind()... so I presume this
> isn't even something you want to look at yet.

It does not.

VLC provides blocks of audio samples (of configurable size) with a play
timestamp (monotonic clock) and duration. The callback is invoked no more
than 500ms ahead of and no less than 40ms behind the expected play time,
depending on CPU load and upstream buffers.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list