SndVol32.exe /D command line switch

D

David Markie

I am trying to work out what the /D command line switch on SndVol32.exe
actually does.

I know it can bring up volume controls for different devices but I have not
worked out the relationship between the actual devices and the command line
switch parameter.

Listing the devices with 'waveOutGetNumDevs' followed by calls to
'waveOutGetDevCaps' gives:-

0 Modem0 (virtual)
1 Modem1 (virtual)
2 VIA OnBoard
3 USB External

Listing with DXSound gives:-

0 Primary Output
1 USB External
2 Modem0 (virtual)
3 Modem1 (virtual)
4 VIA OnBoard

An finally with SndVol32.exe the device numbers appear to be:-

0 VIA Onboard
1 USB External
2 Modem0 (virtual) // givves error dialog
3 Modem1 (virtual) // gives error dialog

Does anyone know the mapping of actual devices to SndVol32.exe DeviceIDs,
and how to reliably call up SndVol32.exe for a defined output device

Thanks


David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top