I'm trying to get the Jukebox mode to work using Subsonic 4.6 on Ubuntu 11.04 Server. This is a headless server, and as such, I have only ALSA, not Pulse installed. When I start Subsonic with a Jukebox player setup, I get the following error in the log:
- Code: Select all
[2011-12-16 23:28:31,824] ERROR JukeboxService - Error in jukebox: javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:90)
...
It follows that I get no audio when I play to the Jukebox player in Subsonic.
The server plays sound fine outside of Subsonic when I do something like this:
- Code: Select all
aplay test.wav
So I know the sound system is working.
When I run the java test script (here: http://sourceforge.net/apps/mediawiki/subsonic/index.php?title=Players#Jukebox), I get the following output:
- Code: Select all
Available mixers:
PulseAudio Mixer
USBDAC [default]
USBDAC [plughw:0,0]
Port USBDAC [hw:0]
Thoughts?
-Andy