PDA

View Full Version : Sound Freq (Resample?)


linuxkrn
04-02-2003, 07:05
Hi guys, great work on TS so far. Love it. Got an issue with the linux client. I'm using a Plantronics USB headset (DSP-500) that only is able to playback record under linux at 44Khz. This seems to be an issue because when I connect to my local TS server and people join the playback is way too fast. As are all the sounds (player joined/left). Local test mode sounds perfect, but other players report my sound is too slow. I've been using OSS for the moment but also have Alsa. Is it possible to set the sound freq rate? Can you resample the input/ouput in TS?

Thanks.

Gentoo Linux
SBLive Emu10k1
USB Plantronics DSP-500 Headset <- Used for TS

N. Werensteijn
05-02-2003, 19:35
Emm :p

Your driver should not accept 22khz sample/play.

Right now every is depending on being resampled to 22Khz.
It's not my main priority now to fix this :)

Cocoronix
22-02-2003, 23:47
Any word on this issue? I just got this same headset today, to discover that the sound is awesome, but has a fixed rate setting :( And, TS dosent 'do the right thing' and handle this. Is this still not on the soon to be done list?

Cheers

N. Werensteijn
23-02-2003, 00:08
It will have to be post -rc2

The right thing would be for the driver not to accept a requested 22k rate, with a 44khz rate

Cocoronix
23-02-2003, 00:19
Yea, It no longer accepts the slower rate; selecting the device in teamspeak causes input & output to be muted. I honestly dont know why the driver doesnt do the down/up sampling in the first place.

Thanks for the quick reply!

mrfett
12-07-2003, 14:15
Same thing happens with DSP100 headset. Still no workaround huh?

Cocoronix
12-07-2003, 18:54
I got my headset working with ALSA & TS. IIRC it worked out of the box, after you load the oss-compatability layer.

Cocoronix
12-07-2003, 18:55
ALmost forgot. Only issue is that you can't use TS and Quake3 at the same time. has to do with a blocking issue that ALSA handles 'correctly' but oss doesnt. you can to a google search for "alsa O_NONBLOCK" for more info