Discussion:
mixerGetLineInfo failing
(too old to reply)
vinaykabadi
2010-09-09 10:53:33 UTC
Permalink
Hello,

In vista, I call mixerOpen(), then I am using mixerGetControlDetails
() to get the volume details. But once I change the audio format in
the advanced section of audio panel, the mixerGetControlDetails () is
failing.

Even if I close the mixer and open new mixer, still the
mixerGetControlDetails is failing. This will work only when I close
the stop and run the programme again.

Any clue/discussion is appreciated regarding what to do.. The windows
media player is succesfully handling this in the same instance.


Regards
Vinay
Bob Masta
2010-09-09 12:33:25 UTC
Permalink
On Thu, 9 Sep 2010 03:53:33 -0700 (PDT), vinaykabadi
Post by vinaykabadi
Hello,
In vista, I call mixerOpen(), then I am using mixerGetControlDetails
() to get the volume details. But once I change the audio format in
the advanced section of audio panel, the mixerGetControlDetails () is
failing.
Even if I close the mixer and open new mixer, still the
mixerGetControlDetails is failing. This will work only when I close
the stop and run the programme again.
Any clue/discussion is appreciated regarding what to do.. The windows
media player is succesfully handling this in the same instance.
What are you changing the audio format to? Is it possible
that it is something not supported by the normal mixer?
For example, maybe the mixer doesn't support more than 2
input and 2 output channels? (Haven't tested this myself
yet.)

It seems that M$ has pretty much abandoned the mixer API in
favor of kmixer and later stuff, so the latest formats may
not be backward compatible. (I haven't tested this myself,
but I'd love to be proven wrong and find that they are still
compatible!)

Best regards,


Bob Masta

DAQARTA v5.10
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Scope, Spectrum, Spectrogram, Sound Level Meter
Frequency Counter, FREE Signal Generator
Pitch Track, Pitch-to-MIDI
DaqMusic - FREE MUSIC, Forever!
(Some assembly required)
Science (and fun!) with your sound card!

Loading...