You are not logged in.

#1 2006-04-30 13:06:42

Marco`
Member
From: Schoorl, The Netherlands
Registered: 2005-11-27
Posts: 47
Website

Using sound for Enemy Territory and TeamSpeak

When I'm playing a match of Enemy Territory I would like to still here the sound that TeamSpeak produces. I've tried numerous things, but I can't get ET and TS to work together.

Does anyone have a succes story they can share with me?

my current .asoundrc:

pcm.my_card {
  type hw
  card 0
# mmap_emulation true
}

pcm.dmixed {
  type dmix 
  ipc_key 1024 
#  ipc_key_add_uid false   # let multiple users share
#  ipc_perm 0666           # IPC permissions for multi user sharing (octal, defa                                                                                          ult 0600)
  slave {
    pcm "my_card" 
#   rate 48000
#   period_size 512
  }
}

pcm.dsnooped {
  type dsnoop 
  ipc_key 2048 
  slave {
    pcm "my_card" 
#   rate 48000
#   period_size 128
  }
}

pcm.asymed {
  type asym 
  playback.pcm "dmixed" 
  capture.pcm "dsnooped"
}

pcm.pasymed {
  type plug 
  slave.pcm "asymed"
}

pcm.dsp0 {
  type plug
  slave.pcm "asymed"
}

pcm.!default {
  type plug
  slave.pcm "asymed"
}

Thanks in advance,
Marco


was known as 'Chestah'
Last.fm profile

Offline

#2 2006-04-30 13:22:56

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Using sound for Enemy Territory and TeamSpeak

I had the same problem a while ago. The thing was that ET opened the sound-device in full-duplex mode (recording and playing at once) while TeamSpeak tried to do the same thing. But somehow this is not possible with the OSS Emulation of Alsa. So you've to overwrite the game's defaults by doing something like that:

echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss

I've no idea what exactly each line is good for and maybe you have to adjust this a bit, but I guess a google search will reveal it. I put this lines into /etc/rc.local so I don't have to do this manually after each reboot.

Offline

#3 2006-04-30 14:11:11

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Using sound for Enemy Territory and TeamSpeak

Err... Have you guys tried using aoss? That seems to work without blocking up everything.

Offline

#4 2006-11-07 16:45:14

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Using sound for Enemy Territory and TeamSpeak

Aoss doesn't seem to work with enemy territory hmm
But as far as i can tell it works just fine with teamspeak smile

This one:

echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss 

won't work for me :S aka it won't help

Offline

#5 2006-11-07 23:28:38

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Using sound for Enemy Territory and TeamSpeak

oss2jack or oss commercial is the only way afaik. maybe joss might work but i don't remember.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB