|
switching audio cards in MAME/MESS
#305210 - 03/03/13 06:19 AM
|
|
|
is there a way to explicitly set output audio card for MAME/MESS?
i have two audio cards, one MB built-in audio with lcd panel speakers (default, for windows blips and blops) and esi juli@ with nice amp and speakers for music, movies and gaming.
i can set second card (esi juli@) in most applications as output device, but for MAME/MESS i have to manually switch esi juli@ to default device in windows, then return it back to secondary after playing.
that would be the great new option for MAME/MESS.
|
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration
|
|
|
Re: switching audio cards in MAME/MESS
[Re: abelenki]
#305213 - 03/03/13 08:19 AM
|
|
|
There's a command line utility called nircmd that allows you to set the default sound device from the command line in Windows 7/Vista/2008. It also does tons of other things from the command line too.
http://www.nirsoft.net/utils/nircmd.html
You could always start MAME with a batch file that runs nircmd before and after running MAME to toggle your desired sound device.
|
GroovyMAME support forum on BYOAC
|
|
|
Re: switching audio cards in MAME/MESS
[Re: krick]
#305218 - 03/03/13 09:09 AM
|
|
|
oh, man. such a great advice!! thank you very much.
i did three batch files, for Emu Loader/HBMAME, Emu Loader/MAME and QMC2/MESS:
nircmd.exe setdefaultsounddevice "Mordaunt-Short MS908" EmuLoader.exe nircmd.exe setdefaultsounddevice "LG 32LC54"
nircmd.exe setdefaultsounddevice "Mordaunt-Short MS908" EmuLoader.exe nircmd.exe setdefaultsounddevice "LG 32LC54"
nircmd.exe setdefaultsounddevice "Mordaunt-Short MS908" qmc2-mess.exe nircmd.exe setdefaultsounddevice "LG 32LC54"
now esi julia@ is automatically chosen as default device when running those frontends and emulators inside them, then it switched back to MB audio card on exit.
that's just awesome!!
p.s.: i made the same nircmd batches for my PC games. no need to manually switch audio cards anymore. everything is scripted now
|
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration
|
|