Skip to content

hybris/pulseaudio-modules-droid: Fix compatibility with pulseaudio>=13.0

Administrator requested to merge alexeymin/pulse-droid-v13-compat-fix into master

There were some API changes:

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>, replace pa_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

Merge request reports

Loading