PDA

View Full Version : Is cs46xx + quake3 possible ?


snikkt
28-09-2002, 10:11
ALSA cs46xx from cvs supports multi-open.
ie the /dev/dsp device can be opened up to 31 times.

It seems to work also since i've been able
to have multiple sound-sources active at
the same time. _BUT_ Quake3 won't
work together with TeamSpeak. I suspect
this has something to do with the oss emulation which both TeamSpeak and
Quake3 is depending on.

Have anyone had any success with this ?
(Apart from running artsdsp -m quake3 which lags the sound horribly)

/snikkt

N. Werensteijn
28-09-2002, 10:55
I dont know about quake3, but i was able to use teamspeak and xmms together (both using oss, with my cx46xx chipset).

I have heard from others (i dont have quake3) that q3 opens the dsp in read AND write mode. If that is true, it *might* be problem.


To make things more clear.. what is not working?

You start TeamSpeak, Then you start Q3. What happens? No sound, No q3? or Ts is not working ? Or what?

snikkt
28-09-2002, 15:23
The originall error was that Q3 hung when
it tried to initialize the sound.

Actually i remembered one thing i didn't
try tonight :)
I did:
foo pcm0c # echo quake3 0 0 disable > oss
foo pcm0c # echo quake3.x86 0 0 disable > oss

Which effectively disables the capture device as far as quake3 is concerned.

With that in place everything seems
to work. Have to test a bit more to
see what can be 'tweaked' to get most
out of it.

There seem to be some issues with
the input though. I got a bit bad quality
but it improved slightly when i lowered the 'capture' volume to 0 in alsamixer ( i got
less static and more signal ).
It's as if the sound get chopped off and
thean restarted with 100ms or so period.
But the off time is so brief that you can
hardly hear it. It might be a buffer that
is to small or something like that.

Trying to adjust the ADC level in alsamixer
lead to lost input. I guess i'll have to reload the driver to fix that. But some progam seem to have failed cleaning up properly so i can't unload the modules.

/snikkt

lanista
28-09-2002, 19:10
I have the Creative Sound Blaster AudioPCI128 on Board. Normaly I can mix several applications, for example playing q3 + mp3 application over artsd, just invoking the deamon and sending all input and output over artsdsp to /dev/dsp.

But TS2 seams not to support this. Is that right?

My Configuration.
Kernel 2.4.18
Kernel Module:
es1371
1274 5880 Creative Sound Blaster AudioPCI128
Kde2.

Do I have to use the Alsa drivers, has anybody tryed to use them simultaniously?

thx
Lanista

Harper
12-10-2002, 13:53
Snikkt, can you tell me how you set up the multiple open support for your dsp device?

I installed the Alsa0.9 modules from the Debain sources (instructions from www.alsa-project.org) for my Terratec DMX 1024. It works really well except that I can't open another dsp device (f.e. dsp1 produces error message "No such device") or reuse dsp0 ("Device is busy"). It would be nice if you could help.

Thx
Harper

N. Werensteijn
13-10-2002, 21:35
Snikkt. About the volume issue: Did you try the 2.0.23.23 patch? It should have fixed a volume issue. Ofcourse, if your mic volume is to loud to start with, the sound is distorted before teamspeak can try to fix that.

Harper:
Read my post in http://www.teamspeak.org/forums/showthread.php?s=&threadid=1465
My soundcard (hercules game theatre) has the cs46xx chipset. In my post i explain how to enable multiple "channels/devices".

Harper
14-10-2002, 20:56
Thx everything worked great :)

N. Werensteijn
14-10-2002, 22:34
YW. I was so glad when it was added. Now i can play ut and use ts in linux too :)