Selecting audio output in remote mode on Linux

Need help? Post your questions here.

Moderator: moderators

Selecting audio output in remote mode on Linux

Postby wintrmute » Tue Feb 10, 2015 12:56 am

I have Subsonic 5.1 installed on Ubuntu 14.04.
(So that's using OpenJDK's Java 1.7 then, I think?)

My media PC has multiple audio outputs available - analogue via sound card, optical digital via sound card, and then three HDMI outputs (something to do with the nvidia driver). How can I get to select which one I want Subsonic to use when in remote mode?

Thanks in advance
Last edited by wintrmute on Tue Feb 10, 2015 1:42 am, edited 1 time in total.
wintrmute
 
Posts: 12
Joined: Tue Feb 10, 2015 12:46 am

Re: Selecting audio output in remote mode on Linux

Postby wintrmute » Tue Feb 10, 2015 1:03 am

Edit: Found this post which looks like it could be helpful: viewtopic.php?f=2&t=2038

Downside -- wow, that looks rather low level, I was hoping for something like a nice menu with a select box on it!

Also, doesn't appear to be working for me -- looks like Subsonic uses org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine rather than javax.sound.sampled.SourceDataLine now, perhaps?
wintrmute
 
Posts: 12
Joined: Tue Feb 10, 2015 12:46 am

Re: Selecting audio output in remote mode on Linux

Postby wintrmute » Wed Feb 11, 2015 3:51 am

After a while of trying to debug this, I've come to the conclusion that, actually, subsonic is simply just crashing a thread somehow whenever it plays in remote control/jukebox mode. It's worked at least once, but mostly just seems to die. I don't know why :(
wintrmute
 
Posts: 12
Joined: Tue Feb 10, 2015 12:46 am

Re: Selecting audio output in remote mode on Linux

Postby wintrmute » Wed Feb 11, 2015 5:31 am

Looks like the culprit was Ubuntu/Debian setting java sound defaults to use Pulseaudio, which could be reverted as per http://keithp.com/blogs/Java-Sound-on-Linux/
wintrmute
 
Posts: 12
Joined: Tue Feb 10, 2015 12:46 am


Return to Help

Who is online

Users browsing this forum: No registered users and 13 guests