Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse audio #10

Open
xoureldeen opened this issue Jul 14, 2024 · 3 comments
Open

Pulse audio #10

xoureldeen opened this issue Jul 14, 2024 · 3 comments

Comments

@xoureldeen
Copy link

Im trying to use pulse audio in my app like u do bcuz termux packages builder stuck on pulse audio termux-am package so i used to copy urs, sorry for annoying u

I have used this in my app
export AUDIO_NATIVE_SAMPLE_RATE=44100
export LD_LIBRARY_PATH=/data/data/com.vectras.boxvidra/files/usr/pulseaudio/libs
export HOME=/data/data/com.vectras.boxvidra/files/usr/tmp
export TMPDIR=/data/data/com.vectras.boxvidra/files/usr/tmp
/data/data/com.vectras.boxvidra/files/usr/pulseaudio/libs/libpulse-android.so --disable-shm -n -F /data/data/com.vectras.boxvidra/files/usr/pulseaudio/pulseaudio.conf --dl-search-path=/data/data/com.vectras.boxvidra/files/usr/pulseaudio/libs --daemonize=false --use-pid-file=false --log-target=stderr --log-level=debug

${TMPDIR}/pulse are exist and have the permissions

And i got this error
try_dlopen (dlopen.a, (null))
tryall_dlopen (dlopen.a, lt_preopen)
Calling lt_preopen->module_open (dlopen.a)
Result: Success
loaders: lt_dlopen, lt_preopen
I: [libpulse-androi] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [libpulse-androi] core-rtclock.c: Timer slack is set to 50 us.
D: [libpulse-androi] core-util.c: setpriority() worked.
I: [libpulse-androi] core-util.c: Successfully gained nice level -11.
I: [libpulse-androi] main.c: This is PulseAudio 13.0-30-g88bf9-dirty
D: [libpulse-androi] main.c: Compilation host: aarch64-unknown-linux-android
D: [libpulse-androi] main.c: Compilation CFLAGS: -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -I/home/pelya/src/endless_space/SDL-android/src/pulseaudio/arm64-v8a/libtool-master/install/include -I/home/pelya/src/endless_space/SDL-android/src/pulseaudio/arm64-v8a/json-c-12916e229c769da4929f6df7f038ab51cf0cb067/install/include/json-c -I/home/pelya/src/endless_space/SDL-android/src/pulseaudio/arm64-v8a/libsndfile-1.0.25/install/include -Werror=implicit-function-declaration -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [libpulse-androi] main.c: Running on host: Linux aarch64 5.4.233-qgki-g75f6475ba551 #1 SMP PREEMPT Tue Apr 2 13:49:31 UTC 2024
D: [libpulse-androi] main.c: Found 8 CPUs.
I: [libpulse-androi] main.c: Page size is 4096 bytes
D: [libpulse-androi] main.c: Compiled with Valgrind support: no
D: [libpulse-androi] main.c: Running in valgrind mode: no
D: [libpulse-androi] main.c: Running in VM: no
D: [libpulse-androi] main.c: Running from build tree: no
D: [libpulse-androi] main.c: Optimized build: yes
D: [libpulse-androi] main.c: NDEBUG defined, all asserts disabled.
I: [libpulse-androi] main.c: Machine ID is localhost.
E: [libpulse-androi] core-util.c: Failed to create secure directory (${TMPDIR}/pulse): No such file or directory

@PangBaiWork
Copy link
Owner

edit pulseaudio.conf
line59
socket=/data/data/com.p....

@xoureldeen
Copy link
Author

edit pulseaudio.conf
line59
socket=/data/data/com.p....

Worked thanks, gimme social account i want dm you

My discord
xoureldeen

My telegram
xagnet666x

@PangBaiWork
Copy link
Owner

edit pulseaudio.conf
line59
socket=/data/data/com.p....

Worked thanks, gimme social account i want dm you

My discord
xoureldeen

My telegram
xagnet666x

t.me/PangBai_work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants