Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I tell America's Army to use my second soundcard?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Thu Oct 07, 2004 4:10 pm    Post subject: How can I tell America's Army to use my second soundcard? Reply with quote

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
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Thu Oct 07, 2004 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Thu Oct 07, 2004 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
linuxkrn
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 140
Location: Denver,Colorado

PostPosted: Thu Oct 07, 2004 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Thu Oct 07, 2004 7:45 pm    Post subject: Reply with quote

If you are using alsa driver /dev/dsp is allready a simlink of /dev/sound/dsp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum