PDA

View Full Version : Softsqueeze 3.8 - works only under root account (suse linux)



AndreE
2010-03-13, 13:45
when i run Softsqueeze
i get:

softsqueeze
3 [main] WARN softsqueeze - Exception
java.lang.IllegalArgumentException: Master Gain not supported
at org.classpath.icedtea.pulseaudio.PulseAudioLine.ge tControl(PulseAudioLine.java:89)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceD ataLine.getControl(PulseAudioSourceDataLine.java:5 1)
at org.titmuss.softsqueeze.audio.AudioMixer.initLine( AudioMixer.java:171)
at org.titmuss.softsqueeze.audio.AudioMixer.<init>(AudioMixer.java:132)
at org.titmuss.softsqueeze.audio.Player.initMixer(Pla yer.java:189)
at org.titmuss.softsqueeze.audio.Player.<init>(Player.java:168)
at org.titmuss.softsqueeze.Softsqueeze.<init>(Softsqueeze.java:146)
at org.titmuss.softsqueeze.Softsqueeze.<init>(Softsqueeze.java:110)
at org.titmuss.softsqueeze.Softsqueeze.main(Softsquee ze.java:493)
at org.titmuss.softsqueeze.Application.main(Applicati on.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)

if it is executed under root account - it works fine
what settings should be applied to it to get it up and running properly and not under root permissions?

bpa
2010-03-13, 14:28
It's been awhile since I setup Pulseaudio on Ubuntu to work with non root apps so the details may not be quite correct.

For an app to work on a PulseAudio system without root access - Pulse had to be setup as system wide and the user had to be added to some pulse groups.
The command line version to run Pulse system wide is 'sudo pulseaudio --system'

I think it can be done another way during system start up, edit /etc/default/pulseaudio like this which is opposite to installed setting.

PULSEAUDIO_SYSTEM_START=1
DISALLOW_MODULE_LOADING=0

Do NOT add users to group "Pulse" - that is a special group. Try adding user to pulse-access and possibly pulse-rt (realtime)

AndreE
2010-03-15, 15:06
unfortunately i did not find mentioned above file
/etc/default/pulseaudio
it simply does not exist in my system
it looks like i have a bit different set-up

AndreE
2010-03-19, 13:22
does anybody use it?

AndreE
2010-04-09, 12:20
is there anyone with the knowledge about SoftSqueeze left?

bpa
2010-04-09, 12:29
Your problem is not Softsqueeze but audio on your system - you need to check how your audio is set up on your Suse Linux system.