mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
aaudio sink: declare pa__done ahead of use; tolerate the int-conversion in PulseAudio's own atomic.h
This commit is contained in:
1 parent
aa863662b8
commit
74b9ea9f89
2 files changed
+5
-1
No files matched your search
@@ -19,7 +19,9 @@ mkdir -p "$INC/pulse"
|
||||
sed -e 's/@PA_MAJOR@/13/g' -e 's/@PA_MINOR@/0/g' -e 's/@PA_API_VERSION@/12/g' -e 's/@PA_PROTOCOL_VERSION@/33/g' \
|
||||
"$PA_SRC/src/pulse/version.h.in" > "$INC/pulse/version.h"
|
||||
cp "$HERE/config.h" "$HERE/ltdl.h" "$INC/"
|
||||
"$CC" -O2 -shared -fPIC -Wall -Wno-unused-parameter -DHAVE_CONFIG_H \
|
||||
# PulseAudio 13's own headers (pulsecore/atomic.h) predate clang's int-conversion error; that
|
||||
# one is downgraded for them, the module itself compiles clean.
|
||||
"$CC" -O2 -shared -fPIC -Wall -Wno-unused-parameter -Wno-error=int-conversion -Wno-visibility -DHAVE_CONFIG_H \
|
||||
-I"$INC" -I"$PA_SRC/src" \
|
||||
-o "$OUT" "$HERE/module-aaudio-sink.c" \
|
||||
-L"$LIBS" -l:libpulsecore-13.0.so -l:libpulsecommon-13.0.so -l:libpulse.so -laaudio
|
||||
|
||||
@@ -324,6 +324,8 @@ finish:
|
||||
pa_log_debug("IO thread shutting down");
|
||||
}
|
||||
|
||||
void pa__done(pa_module *m);
|
||||
|
||||
int pa__init(pa_module *m) {
|
||||
struct userdata *u = NULL;
|
||||
pa_modargs *ma = NULL;
|
||||
|
||||
Reference in new issue
Block a user