Author Topic: How to use your Microphone in Game ?  (Read 2879 times)

0 Members and 1 Guest are viewing this topic.

Offline ossi

  • 22
How to use your Microphone in Game ?
Hi,
i was wondering if the internal Voicechat for teamplay in Freespace works with Linux -- and my nightmares came true.. DirectSound  :snipe:
of corse the microphone dose not work ingame...

Do someone know how i could set up another App (e.g. TeamSpaek, Skype or gnomemeeting eh.. ekiga  .. whatever!) to run parallel to the game. I played a bit around with aoos and artsdsp but nothing worked for me. Freespace occupies /dev/dsp (which is provided through alsa in my system) and no other App is able to use it... and while another sound app is running freespace will start with sound disabled.

Mixing Sound was always a problem in linux...  :sigh:

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How to use your Microphone in Game ?
i have seriously thought about updating the voicechat code to use something more modern, and cross-platform.  It's not really something I care about personally though so there hasn't been any real motivation to actually do it yet.  It is on my todo list, but on page 1,389.  :)

FS2_Open should only do what OpenAL does as far a holding /dev/dsp so you should be able to get around this through your OpenAL setup.  I've listened to music, watched a video, had some annoying audio coming off of a website, and had full sound and much through the game all at the same time, so I know it can work.  Provided that your version of OpenAL is configured to support ALSA, try putting the attached file in your home directory and see if it makes a difference.  If the file already exists then let me know it contents and maybe that will shed some light on the problem.


[attachment deleted by admin]

 

Offline ossi

  • 22
Re: How to use your Microphone in Game ?
Sorry for my long absence.. I cudn't reach the Server and check out for replies.
I've tried it out but there is still the same problem.
At the start of the game
-sinip--
open /dev/[sound/]dsp: Device or resource busy
-snap--
while other applications using alsa in background. The mixer of alsa works propperbly with other aplications...

Any more ideas why it works for you and not for me?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How to use your Microphone in Game ?
What sound card do you have, what kernel version, and what ALSA version?

 

Offline ossi

  • 22
Re: How to use your Microphone in Game ?
- nForce2 AC97 Audio Controler (driver snd-intel8x0)
- kernel-2.6.16-rc5-git9-2
- alsa-1.0.11-15
 :D

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How to use your Microphone in Game ?
Do you have NVIDIA's nForce2 drivers installed (and what version if you do)?  If you do have NVIDIA's drivers installed then why are you using the generic sound module rather than the NVIDIA one (nvsound)?

 

Offline ossi

  • 22
Re: How to use your Microphone in Game ?
Are there nvidia driver available for linux? I just used the Yast installer from suse and sound works... but maybe the nvidia driver are not shipped with the distro because they are not open?
I'll try out nvsound if i find them somewere.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How to use your Microphone in Game ?
NVIDIA does make a full set of NForce drivers for Linux x86 and x86_64 (with varying states of source available, depending on the piece of hardware).

You can get the drivers from here (just select what all you need): http://www.nvidia.com/content/drivers/drivers.asp
Also you can check here for NForce driver bugs or other issues: http://www.nvnews.net/vbulletin/forumdisplay.php?s=4a4d0fe76ec8be418ac3845e91df1dca&daysprune=&forumid=14

I don't have an NForce board so I can't say how well the drivers work, but you are only making use of compatible drivers and not ones designed specifically for the hardware.  You never really get the full capabilities that way.  That forum link for the bugs is for both the NForce drivers and normal NVIDIA video drivers so some/much of the conversations there may not apply to your particular issue.