B
BarryX
Hey,
I am trying to write a section of code in VB that gives me the audio level
of the output from a sound card. If I am using a Soundblaster this is very
easy as I can use the MIXERCONTROL_CONTROLTYPE_PEAKMETER. But not all sound
cards have this.
I have seen some code which looks at the level on the input by checking
samples and I can see that this makes the concept independent of the H/W
which is what I need.
I cannot see how to get at the output samples before they hit the DAC, which
is presumably the only way this method can work.
Comments welcome.
I am trying to write a section of code in VB that gives me the audio level
of the output from a sound card. If I am using a Soundblaster this is very
easy as I can use the MIXERCONTROL_CONTROLTYPE_PEAKMETER. But not all sound
cards have this.
I have seen some code which looks at the level on the input by checking
samples and I can see that this makes the concept independent of the H/W
which is what I need.
I cannot see how to get at the output samples before they hit the DAC, which
is presumably the only way this method can work.
Comments welcome.