View previous topic :: View next topic |
Author |
Message |
ChojinDSL l33t

Joined: 07 Jul 2003 Posts: 784
|
Posted: Thu Oct 07, 2004 4:10 pm Post subject: How can I tell America's Army to use my second soundcard? |
|
|
Ive got my Nforce audio on /dev/dsp
and my SBlive on /dev/dsp1
I checked the ini files for ArmyOps, but I cant figure out how to tell ArmyOps to use my Sblive instead of my Nforce audio.
Any suggestions? |
|
Back to top |
|
 |
blueworm l33t

Joined: 09 May 2003 Posts: 962
|
Posted: Thu Oct 07, 2004 5:35 pm Post subject: |
|
|
One way I did something similar was to switch the 2 around.
/dev/dsp will be the first sound card detected, and /dev/dsp1 the second.
All you need to do is build the alsa-drivers as modules and have snd-emu10k1 in your /etc/modules.autoload.d/kernel-2.6 before snd-intel8x0.
Also make sure it is in that order in your /etc/modules.d/alsa. |
|
Back to top |
|
 |
ChojinDSL l33t

Joined: 07 Jul 2003 Posts: 784
|
Posted: Thu Oct 07, 2004 7:04 pm Post subject: |
|
|
By the way, I should have mentioned this earlier, I'm just looking for a temporary solution. Im sure there's gotta be some kind of command that can be passed to the binary file to make it use the second sound card in a system. |
|
Back to top |
|
 |
linuxkrn Tux's lil' helper


Joined: 13 Oct 2003 Posts: 140 Location: Denver,Colorado
|
Posted: Thu Oct 07, 2004 7:43 pm Post subject: |
|
|
ChojinDSL wrote: | By the way, I should have mentioned this earlier, I'm just looking for a temporary solution. Im sure there's gotta be some kind of command that can be passed to the binary file to make it use the second sound card in a system. |
No, not unless the app supports a cmd/cfg setting for it.
What I used to do in the past (old OSS apps) is make /dev/dsp a symlink.
Then by writing a script you could just have it redirect to the correct card.
mv /dev/dsp /dev/dsp0
ln -snf /dev/dsp1 /dev/dsp
then to switch back
ln -snf /dev/dsp0 /dev/dsp
Keep in mind that you will also need to change /dev/mixer as well.  |
|
Back to top |
|
 |
blueworm l33t

Joined: 09 May 2003 Posts: 962
|
Posted: Thu Oct 07, 2004 7:45 pm Post subject: |
|
|
If you are using alsa driver /dev/dsp is allready a simlink of /dev/sound/dsp |
|
Back to top |
|
 |
|