Jimekus
7/27/2011 12:33:00 AM
On Jul 27, 9:00 am, "David Kaye" <sfdavidka...@yahoo.com> wrote:
> "Jimekus" <jime...@gmail.com> wrote
>
> > here is another link, but it doesn't work on Windows after XP. For
> > Vista and Win7 you beed the Windows SDK, I think.
>
> I don't think you understand what I'm asking for. I am looking for
> something to MEASURE volume level, not to set it. Setting it is easy.
>
> Now, on the Planet Sourcecode website, there is a piece of code that's been
> spread around the net for years, a VU meter program. Fine, the code within
> that is exactly what I need, but it appears that nobody has actually TESTED
> it after posting it years ago because it doesn't work. It freezes three
> computers I've tried it on.
>
> Okay, I'll re-state my need: I need VB 6.0 code that will MEASURE volume
> levels from my sound card and actually WORKS. There.
In the code is this comment :-
'Call the OpenMixer function (usually mixer 0).
'Then you can get/set all the primary mixer controls with the
SetVolume, GetVolume, SetMute & GetMute functions.
'Example:
'
'OpenMixer(0)
'Slider1.Value=GetVolume(WAVEOUT)
'