LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Games and sound (https://www.linuxquestions.org/questions/linux-games-33/games-and-sound-103617/)

Abe_the_Man 10-13-2003 09:00 PM

Games and sound
 
I got my radeon installed and working. I got unreal 2k3 and americas army installed. Both great games. Only problem is that after exiting either one, i don't have any sound when start either game back up (xmms has sound and works fine). I have to reboot to get sound back in my games. Why is this and how can i fix the problem??

teval 10-13-2003 09:26 PM

fuser -k /dev/dsp

It will enable your sound card by killing whatever process is taking it up.
Could be a freak artsd bug causing it or something like that, this should fix it.

Abe_the_Man 10-13-2003 10:35 PM

Awsome. Thanks alot teval! One question though, how would i make that into a button on my gnome task bar (for ease of use)?? Or is there a way to get linux to do that every time i load a game??

teval 10-14-2003 03:43 PM

There is.. make a bash script called say.. for America's Army... the program to run it is armyops.. I think.
Make a file caleld.. army, chmod it to +x
Put inside of it

Code:

#!/bin/sh

fuser -k /dev/dsp
/usr/bin/armyops

Or put whereever it installed and whatever it's called, instead of /usr/bin/armyops, you can find that out with: 'which <name>' Omitting both the ' and the <>

Put this file in /usr/bin
And just type in the file name, and enjoy :)


All times are GMT -5. The time now is 03:04 PM.