0

DIGI+ and subsonic 'jukebox' mode

I've got a stock image of raspbian installed and got the DIGI+ card recognised.

 

I can play an mp3 with mplayer, but when I'm trying to use the card with a java webapp (subsonic) it won't output sound :

 

[2016-01-14 09:07:18,099] ERROR JukeboxService - Error in jukebox: java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, big-endian is supported.

 

I've tried using the three items java thinks exist for sound cards :

 

sndrpihifiberry [default]
sndrpihifiberry [plughw:0,0]
Port sndrpihifiberry [hw:0]

 

each of them result in the same issue (when i use '-Djavax.sound.sampled.SourceDataLine=#sndrpihifiberry [plughw:0,0]' etc in my java commandline)

 

Has anyone else tried using subsonic or another java app to output audio to the digi+ ?

1 comment

Please sign in to leave a comment.