PDA

View Full Version : Dual DSPs on Live!


technikolor
14-10-2002, 21:47
Several people have mentioned using both dsp's for TS with games, but most of the talk has been about SB128's. I'm using a TS on a SB Live! Value. I already had /dev/dsp and /dev/dsp1 setup. I mv'ed dsp to dsp0, and made dsp a link to dsp1. The major/minor numbers were correct, I checked that.
But I get nothing. I've already tried sending audio direct to dsp1, but get nothing. I thought it might be a problem with the mixer, but doesn't seem to be..

So the question is, why doesn't dsp1 work? Is it a Live! thing? Is it a mixer problem I haven't solved? I notice that there is a /dev/mixer1, but it doesn't do anything. How do I get it up? TS works fine on my Live during Quake/Unreal playing, except that while i can talk to other players, the TS messages ("Player Left") queue up untill I exit the game and then I get a slew of messages..

Ideas?

technikolor

technikolor
14-10-2002, 22:12
I did some digging..... here's a bit more of the answer...

This is from the kernels driver (EMU10K1) in
v2.4.19:

Supported devices:
/dev/dsp: Standard /dev/dsp device, OSS-compatible
/dev/dsp1: Routes to rear speakers only
/dev/mixer: Standard /dev/mixer device, OSS-compatible
/dev/midi: Raw MIDI UART device, mostly OSS-compatible
/dev/sequencer: Sequencer Interface (requires sound.o)

So that explains why dsp1 doesn't work for me.

As for the SB128, ES1371:
/dev/dsp standard /dev/dsp device, (mostly) OSS compatible
/dev/mixer standard /dev/mixer device, (mostly) OSS compatible
/dev/dsp1 additional DAC, like /dev/dsp, but outputs to mixer "SYNTH" setting
/dev/midi simple MIDI UART interface, no ioctl

And for ES1370:
/dev/dsp standard /dev/dsp device, (mostly) OSS compatible
/dev/mixer standard /dev/mixer device, (mostly) OSS compatible
/dev/dsp1 additional DAC, like /dev/dsp, but output only, only 5512, 11025, 22050 and 44100 samples/s, outputs to mixer "SYNTH" setting
/dev/midi simple MIDI UART interface, no ioctl


So that puts acouple questions to bed. I rather like the idea of using 2 dsp devices rather than multiplexing everything but everything thru one, but oh well.

technikolor

N. Werensteijn
14-10-2002, 22:33
The Soundblaster live does not need this. It allows multiple opens on /dev/dsp

dwc|Harm
21-10-2002, 23:05
yers, it does.
but in my box it only does this out of the combination quake3/ts2

all other combinations work fine

but when i load ts2 and try to get q3 up, it hangs by the sound_initialize

when i fire up q3 first, and start ts second, i get no sound in ts2.

all the other stuff works fine (xmms, mpg123, ....)
with q3 _or_ ts2 loaded.

N. Werensteijn
22-10-2002, 01:17
I have heard something like q3 opening the soundcard in write AND READ mode. IF there is some way to config it to only open in write mode, i think your problems are over.

But i dont know if that is possible