[vlc-devel] [PATCH] pulse: use pa_stream_begin_write()

Rémi Denis-Courmont remi at remlab.net
Mon Feb 11 17:00:26 CET 2019


Le maanantaina 11. helmikuuta 2019, 17.34.49 EET Thomas Guillem a écrit :
> Instead of using a free callback with a hackish way to get the block
> pointer. Even if pa_stream_begin_write() is used to optimize the number of
> memcpy, this commit won't change the total number of memcpy. The memcpy is
> just moved to the Play() function.
> 
> pa_stream_begin_write() is available since 0.9.16. I guess that's why it was
> not used since the beginning.

Probably OK, though I don't know if it's better.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list