Request: MixList.EXE reports
- From: NoSpam@xxxxxxxxxxx (Bob Masta)
- Date: Thu, 29 Mar 2007 03:23:37 GMT
I have a really big favor to ask, which will hopefully
benefit everyone who wants to control the sound card
mixer directly.
The problem is that some XP systems and (I understand)
all Vista systems depart from the standard practice of
assigning all the operations on a sound card to one
device number. In the couple of XP systems I have seen
this on, the Input and Output functions are given
separate device numbers. In the one Vista system I've
seen, it goes even farther and assigns separate device
numbers for Mic In and Line In.
Or at least that's what you find if you use the normal
mixer functions to query the card. However, I've just
discovered on an XP system (Realtek HD Audio) that
waveInGetDevCaps and waveOutGetDevCaps tell a different
story: Device 0 is identified as Input by
mixerGetDevCaps, and Device 1 is Output. But if
waveInGetDevCaps and waveOutGetDevCaps are invoked for
device 0, both are accepted. For device 1, both fail.
For device 0, waveInGetDevCaps reports the same Input
name as mixerGetDevCaps, and waveOutGetDevCaps reports
the same Output name as mixerGetDevCaps did for device 1.
Confused yet?
So I have written a little command line utility called
MixerList.EXE to report on all lines and controls on each
device, as well as the results of waveInGetDevCaps and
waveOutGetDevCaps. The program output goes to the screen,
but it goes by too fast to see. Better is to redirect
the output to a file, as in
MixList > MyMixer.TXT
The format is too cryptic for the general public, but
it should be pretty clear to anyone who uses mixer and
wave functions. All values in hex, for example, including
line types (instead of DST_SPEAKERS, etc). But it's
pretty complete and shows a lot of data at one time.
The app may be downloaded from
www.daqarta.com/mixlist.exe
There is no page with a link (yet)... you have to enter it
directly.
So, my request is that those who are running Vista (or XP
if it uses the funny device designations) will post their
results here or Email them to me. (Put MIXLIST in the
subject line to insure it's not treated as spam.)
I'd also be interested in what happens in Vista if you
plug in a USB audio device that uses the normal
all-on-one-device-number method... does Vista assign it
one device per line, or is that controlled by the USB
device?
If people are interested in this, I could post output for
all sound cards on my site. This sort of info is also
useful if you are trying to get an idea of what sort of
mixer control setups your program may encounter in the
real world.
Many thanks for your help!
Bob Masta
D A Q A R T A
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Scope, Spectrum, Spectrogram, Signal Generator
Science with your sound card!
.
- Follow-Ups:
- Re: Request: MixList.EXE reports
- From: Bob Masta
- Re: Request: MixList.EXE reports
- From: alanglloyd@xxxxxxx
- Re: Request: MixList.EXE reports
- From: Chris P.
- Re: Request: MixList.EXE reports
- From: alanglloyd@xxxxxxx
- Re: Request: MixList.EXE reports
- Prev by Date: Re: AVIStreamRead Fails
- Next by Date: ACM Convert - acmStreamOpen return 512
- Previous by thread: Re: Info: Excessive CPU usage with apps using mm timer
- Next by thread: Re: Request: MixList.EXE reports
- Index(es):
Relevant Pages
|