Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am trying to write a C# code that outputs the current audio output level from each of the windows application accessing the sound output (green bars of the Volume mixer).

I am using Windows 7, and trying it in C#.

How to get the green fluctuating level data?

Thank you!

What I have tried:

I tried a code from c# - Controling Volume Mixer - Stack Overflow[^]
Posted
Updated 25-Jul-17 11:09am
v3
Comments
Richard MacCutchan 25-Jul-17 13:02pm    
If you get some code from a StackOverflow question then that is the place to go if it does not work.

1 solution

Maybe you can use MCI, see this CodeProject article: PVS.AVPlayer - MCI Sound Recorder[^]
Be sure to take note of the comments under:
Quote:
input level metering

You can also take a look at CodeProject Audio projects here: [Audio-Video]
 
Share this answer
 
v2
Comments
Member 12802883 25-Jul-17 16:01pm    
Thank you i try it but it get the input level metering of the devices and it dont work with applications
RickZeeland 25-Jul-17 16:09pm    
That's a pity, I can not help you further as I don't have much experience in this area, but luckily we have Google to find everything :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900