I was not able to have both Teamspeak sound and Q3 sound, until I found the cause :
Both Teamspeak and Q3 open dsp device in read/write mode.
I manage to patch my IoQ3 sources from
- Code: Select all
audio_fd = open(snddevice->string, O_RDWR);
- Code: Select all
audio_fd = open(snddevice->string, O_WRONLY);
in ./code/unix/linux_snd.c
Btw, I did not understand why the device was opened in read mode ... is there some kind of audio recording functionality ?
And for those who use FreeBSD (and OSS sound system), don't forget to create muliple virtual channels
@sig11: so, is it possible to use this small patch for the wQ3 engine ?
You can add #ifdef __FreeBSD__ if you worry about portability