I stole one of your posts, Paul, to start a new thread here:
http://yabb.jriver.com/interact/index.php?topic=40305.0Here's a copy of what you said:
Hi Criz,
Well I think I solved it. In Windows XP (and Vista) a library called 'winmm.dll' is available. It has 2 functions that I'm using now.
Code:
[DllImport ( "winmm.dll" )]
public static extern int waveOutGetVolume ( IntPtr hwo, out uint dwVolume );
[DllImport ( "winmm.dll" )]
public static extern int waveOutSetVolume ( IntPtr hwo, uint dwVolume );
These functions do not alter the Master Volume but the Wave Out Volume. I still have some work to do on the presentation. When I use the functions I do it in a loop with a Sleep(200). That's not very nice because the Slider on the 'Current Volume' doesn't reflect what's going on until the loop finishes. I tried adding a DoEvents() function but that caused all kinds of other unwanted sideeffects.
The Volume of Skype is lowered too using these functions so I guess I'm still not quite there. You can download the latest build from the link above.
Yeah, I also found a lot of changes for Vista. No good in Windows XP though. I still don't use Vista because of the amount of work that has to done to install it and reinstall all my programs, SP's, etc... Will go there some time in the future I guess.
Paul.
PS: The cook on
http://tinyurl.com/2ta24t, that's you?