Skip to content
  • Alexandre Janniaux's avatar
    audio_output: android: split DynamicsProcessing · 38d17118
    Alexandre Janniaux authored and Thomas Guillem's avatar Thomas Guillem committed
    DynamicsProcessing is used by android/device.c, by audiotrack and by
    aaudio and a common vtable is needed as well as the matching JNI helpers
    to use the vtable.
    
    The vtable is currently stored in the audiotrack vtable, which is
    available in the other plugins in static build. But it leads to
    undefined reference errors when compiling a dynamic build of libvlc for
    android.
    
    Split the code handling this vtable in a separate convenience library to
    address this, which is then linked to every other targets.
    
    Since convenience libraries are playing a different role than static
    libraries, and are not linked but merged into the final objects that
    will be part of the library output (shared or archive), the symbols are
    then available to each of the plugins.
    
    Fixes #27726
    38d17118