Hi all, I am trying to access more than one stereo line of a RME DIGI96 Soundcard with attached Output Expansion Board from my java program. I am using ubuntu with kernel 2.6.15-26-386, the version of alsa is 1.0.10 and this is the list aplay -l gives me.
**** Liste von PLAYBACK Geräten **** Karte 0: V8237 [VIA 8237], Gerät 0: VIA 8237 [VIA 8237] Untergeordnete Geräte: 4/4 Untergeordnetes Gerät '0: subdevice #0 Untergeordnetes Gerät '1: subdevice #1 Untergeordnetes Gerät '2: subdevice #2 Untergeordnetes Gerät '3: subdevice #3 Karte 0: V8237 [VIA 8237], Gerät 1: VIA 8237 [VIA 8237] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Karte 1: PAD [RME Digi96/8 PAD], Gerät 0: Digi96 IEC958 [Digi96 IEC958] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Karte 1: PAD [RME Digi96/8 PAD], Gerät 1: Digi96 ADAT [Digi96 ADAT] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Using this card with windows XP, my java program shows me 4 stereo channels, that can be accessed separately. Using this soundcard with linux, only these list of mixers is accessable: MIXER 0: V8237 [plughw:0,0], version 1.0.10rc3 OUTPUT LINE 0: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes OUTPUT LINE 1: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes INPUT LINE 0: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes MIXER 1: V8237 [plughw:0,1], version 1.0.10rc3 OUTPUT LINE 0: interface SourceDataLine supporting 24 audio formats, and buffers of at least 32 bytes OUTPUT LINE 1: interface Clip supporting 24 audio formats, and buffers of at least 32 bytes INPUT LINE 0: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes MIXER 2: PAD [plughw:1,0], version 1.0.10rc3 OUTPUT LINE 0: interface SourceDataLine supporting 24 audio formats, and buffers of at least 32 bytes OUTPUT LINE 1: interface Clip supporting 24 audio formats, and buffers of at least 32 bytes INPUT LINE 0: interface TargetDataLine supporting 24 audio formats, and buffers of at least 32 bytes MIXER 3: PAD [plughw:1,1], version 1.0.10rc3 OUTPUT LINE 0: interface SourceDataLine supporting 96 audio formats, and buffers of at least 32 bytes OUTPUT LINE 1: interface Clip supporting 96 audio formats, and buffers of at least 32 bytes INPUT LINE 0: interface TargetDataLine supporting 96 audio formats, and buffers of at least 32 bytes Please note that plughw:1,0 and plughw:1,1 both play sounds on the same (the standard) output device. I have also tried various configurations of .asoundrc files, but it seems that java does not use this config file. Is there a way to use al 4 stereo output channels from java? It would be painful to switch to windows, since I need to access more that one stereo channel.... Thanks and Cheers, Eduard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user