I want bind the master sound volume of windows to a slider in my program. So I searched and found some ways to GET or SET master volume + some libraries like these:
- Change master audio volume from XP to Windows 8 in C#
- Handling volume control in C#
Some where I see a code with LOOP to get volume value: loop
- Some where I see a code with TIMER to get volume value...
- Also I see some samples to determine volume but after test one of them I saw some errors at runtime in Windows 8: C# – Adjust master volume in Vista and Windows 7
My question is:
What is the best way to simply have the following features in my program (WPF C#.NET 3.5):
GETmaster volume valueSETmaster volume value- Determine the master volume changes, like an
eventandnotification
then bind to a slider.....
Aucun commentaire:
Enregistrer un commentaire