Thanks for you all. I can set the volume of my microphone , using mixer api.
But I want to show the volume level of captured audio in slider.As if captured audio is loud this slider will be at high...