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

jnqnfe at gmail.com jnqnfe at gmail.com
Thu Jun 28 18:49:33 CEST 2018


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pa_const_api_ref.patch
Type: text/x-patch
Size: 1862 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180628/5d328e8a/attachment.bin>


More information about the vlc-devel mailing list