rain0r / STFU

STFU for Android
http://hihn.org/stfu-android-application/
GNU General Public License v3.0
1 stars 1 forks source link

Pulseaudio refuses to work with the App #1

Closed tux93 closed 10 years ago

tux93 commented 11 years ago

Hi, I'm currently trying to get your App to work with my Setup and am encountering the following problem: Instead of reducing/rising/muting every button press in the app results in this log output from pulseaudio [pulseaudio] socket-server.c: bind(): Address already in use [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed. [pulseaudio] main.c: Module load failed. [pulseaudio] main.c: Failed to initialize daemon. [pulseaudio] main.c: Daemon startup failed. I'm on openSUSE 12.3, pulseaudio 3.0-1.6.1

Maybe you can give me a hint, when issuing the pactl commands the app uses from a Terminal it works

rain0r commented 11 years ago

Hi!

What happens if you try this from another computer:

ssh <ip> "pactl set-sink-volume 0 +5%"
tux93 commented 11 years ago

I get this: pa_context_connect() failed: Connection refused

rain0r commented 11 years ago

Okay, so the problem lies inside your pulseaudio setup. Actually, I am not too deep in the pulseaudio world - sorry.

I know this is Ubuntu, but you may give it a try: http://askubuntu.com/questions/70560/why-am-i-getting-this-connection-to-pulseaudio-failed-error

tux93 commented 11 years ago

Seems to be a pulse bug: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/832401

tux93 commented 10 years ago

ok, so it was not a bug but a configuration error of my sshd but now I'm at the next problem: the app is configuring the wrong sink

rain0r commented 10 years ago

Find out the number of your main sink and enter that number in the app.

tux93 commented 10 years ago

now I feel like an idiot :P I knew I saw that setting somewhere but forgot that it was in the Remote Setup