Getting and Setting the mic level

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm building a small app that will record a wave file and save it, nothing
really fancy. What I would like to add as a control to display the input
level coming in. I would think that this is something I could pull from the
windows api? I would also like to have a slider on the form to control the
input level. Any help on this would be great.
 
Webbee said:
I'm building a small app that will record a wave file and save it, nothing
really fancy. What I would like to add as a control to display the input
level coming in. I would think that this is something I could pull from
the
windows api? I would also like to have a slider on the form to control the
input level.

This should be possible by p/invoking the 'mixerSetControlDetails' function.
A VB6 sample can be found here:

SAMPLE: Volume.exe: Set Volume Control Levels Using Visual Basic
<URL:http://support.microsoft.com/?scid=kb;EN-US;178456>

Notice that this sample needs to be reworked in order to make it run in
VB.NET.
 

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

Back
Top