C++ microphone volume input

How might I implement a way to detect the user’s microphone input and launch tasks depending on the volume level.
I don’t know myself if this feature is available, although any help would be great!

Use the code from this link. Then you can quite easily do what you want with launching tasks based on volume.


Thanks! I will give it a try.

Unfortunately the link seems to be broken.

Link is dead

link is dead, and i need it