hybris/pulseaudio-modules-droid: Fix compatibility with pulseaudio>=13.0
There were some API changes:
- https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/878ef440797f0fe319dcb1e866c29cec39b8a36d
- https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/6665b466d28ca6f166c22846777f541f5bc9cef7
Leading to:
- Error relocating /usr/lib/pulse-13.0/modules/libdroid-sink.so: pa_make_realtime: symbol not found
- Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_make_realtime: symbol not found
- Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_source_get_state: symbol not found
Fixes are:
-
#include <pulse/util.h>
, replacepa_make_realtime
->pa_thread_make_realtime
- replace
pa_source_get_state(X)
->X->state
- replace
pa_sink_get_state(X)
->X->state
Fixes !634 (merged)
Edited by Administrator