[vlc-devel] [patch] pulseaudio API compatibility fix

Rémi Denis-Courmont remi at remlab.net
Wed Jul 4 20:55:57 CEST 2018

Le torstaina 28. kesäkuuta 2018, 19.49.33 EEST jnqnfe at gmail.com a écrit :
> Lately I've been sending in a lot of patches to PulseAudio to add const
> qualifiers to much of their API. For the most part this has not changed
> API compatibility in any way, however the latest set concerning the
> pa_mainloop_api structure does.
> The attached patch makes VLC compatible with the change, whilst also
> remaining compatible with the current API.
> Specifically it adds the const qualifier to callback pa_mainloop_api
> params, and avoids storing the *_get_api() call result in a variable.

Please keep it within 79 characters per line. It might help to retain the 
intermadiate variables.


More information about the vlc-devel mailing list