VOGONS


First post, by leTigreBleu

User metadata
Rank Newbie
Rank
Newbie

Hello,
I have DOSBox 0.74 under Gentoo Linux (amd64). I have two sound cards (one on the motherboard, and one on a PCI card).

How can I tell to DOSBox to use the one I want to use?

An example with aplay, the alsa sound player:

aplay -D plughw:1,0 a.wav -> plays on card number 1
aplay -D plughw:0,0 a.wav -> plays on card number 0.

Have I missed a command line parameter of DOSBox?

Have a nice day,
Lionel

Last edited by leTigreBleu on 2010-11-04, 21:20. Edited 1 time in total.

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

dosbox uses libsdl for that.
So check how you can tell libsdl to use which soundcard

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by leTigreBleu

User metadata
Rank Newbie
Rank
Newbie

Thank you so much Qbix! The solution is (following my first example):

AUDIODEV="plughw:1,0" dosbox

Lionel.