PDA

View Full Version : two dsp-devices


reiboeng
27-09-2002, 13:14
how can i get 2 dsp-devices for one soundcard?

i´m using gentoo, alsa0.9

soundblaster live
ens1371
soundblaster64

Raffles
28-09-2002, 13:50
With kernel 2.2.18 (SuSE 7.1) i had only dsp0. So it was not possible to use Teamspeak2 and a game at the same time. Teamspeak worked well btw.
Yesterday i compiled kernel 2.4.19 and use the es1371 driver (Soundblaster PCI 128) which i compiled in the kernel. Now i have dsp0 en dsp1. Both devices can play at the same time.

The problem is TeamSpeak works only on dsp0 and not on dsp1.

I can't change the sound from the game (tribes2) to dsp1 to my knowledge.

Please your advice..

N. Werensteijn
28-09-2002, 15:32
What happens if you try to use /dev/dsp1 as sound device for ts2 ?

Jin
28-09-2002, 16:35
hi,

I replied to a similar question in the german forum; the problem is, that one of these dsp's can record and play, and the other one can only play.

games like Tribes2 or old UT always use /dev/dsp as default, so here is the deal:

(if I understand correctly, your device that works with TS and can do both recording and playback is dsp0, and dsp1 can only play)

make a link /dev/dsp -> /dev/dsp1
this will ensure that all games use the playback-only device

configure teamspeak to use your dsp0

I have a SB128 (ES1371) and this solution works fine for me

good luck,

Jin

Raffles
28-09-2002, 18:09
Originally posted by N. Werensteijn
What happens if you try to use /dev/dsp1 as sound device for ts2 ?
Jin's solution works great!!
/dev/dsp --> /dev/dsp1 and TeamSpeak on /dev/dsp0

Raffles
28-09-2002, 18:10
Originally posted by Jin make a link /dev/dsp -> /dev/dsp1
this will ensure that all games use the playback-only device

configure teamspeak to use your dsp0

I have a SB128 (ES1371) and this solution works fine for me

good luck,

Jin [/B]

It works for me too..
Thanks Jin!!