Page 1 of 1

Jukebox opens soundcard explicit.

PostPosted: Sat Jan 21, 2012 4:18 pm
by DatGizmo
Hello erveryone.

I have installed subsonic on my Gentoo linux.

My setup:
- 3 Soundcards:
- Onboard: Intel HDA (00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA))
- PCI-Card: Creative sblive 1024 (04:05.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07))
- USB-Adapter: Logitech Headset (046d:0a01 Logitech, Inc. USB Headset)

- Gentoo with kernel 3.0.6
- Subsonic: 4.6 (installed from flow overlay)
- Pulseaudio: 1.1-r1

So far everything works fine.
Only one thing bugs me.
When subsonic is used in jukebox mode, the soundcard is blocked for my pulseaudio server. Or if the pulseaudio was started bevor subsonic, subsonic cannot access the soundcard.
I selected the soundcard via.
Code: Select all
  '-Djavax.sound.sampled.SourceDataLine=#SB [plughw:0,0]' \

The soundcard listing:
Code: Select all
Available mixers:
SB [plughw:0,0]
SB [plughw:0,1]
Live [plughw:1,0]
Live [plughw:1,1]
Live [plughw:1,2]
Live [plughw:1,3]
Headset [plughw:3,0]
Java Sound Audio Engine
Port SB [hw:0]
Port Live [hw:1]
Port NVidia [hw:2]
Port Headset [hw:3]


So my question:
Is there a way to tell subsonic (java) to use either the pulsaudio server, or open the soundcard via the alsa device. (e.g. /dev/adsp)

Personally I would prefer to tell subsonic to use the pulseaudio server :)

Thanks and Greetz

Gizmo

Re: Jukebox opens soundcard explicit.

PostPosted: Wed Apr 04, 2012 12:40 am
by guisar
Ever get help? Having same issue- using an external USB soundcard which every application other than subsonic is happy to use. Subsonic just uses the laptop speakers which are actually disabled in pulse audio. Hope this fix this to just use the default soundcard- very annoying and hard to fix.