| View previous topic :: View next topic |
| Author |
Message |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Thu Jan 03, 2002 4:59 pm Post subject: Controlling the MAIN volume in windows via VDS |
|
|
Hello there,
I'm trying to figure a way to control the main volume of windows. I tried VDSVOL.DLL but it controls only the WAVEOUT volume. I need to control the Audio CD volume. But ideally it would be the Main volume...
Anyone has an idea..?
Thanks |
|
| Back to top |
|
 |
easy rider Valued Newbie

Joined: 10 Sep 2001 Posts: 26 Location: Netherlands
|
Posted: Thu Jan 03, 2002 7:16 pm Post subject: |
|
|
Hi marty
try this
%%volume = @mci(setaudio mp3 volume to %%volume)
You need a trackbar for this of course.
btw. it does not control the main volume.
see you Rene  |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Jan 04, 2002 10:55 am Post subject: |
|
|
I once played with the idea of opening sndvol.exe hidden, and then sending key strokes to it from my app. It worked of course, but the problem with it was, is that I couldn't tell what the actual volume measurement was. I could only increase or decrease the volume. I would only suggest this for the Main Volume and not with any of the others, because not everyone has the same items in the sndvol.exe controls. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Fri Jan 04, 2002 2:06 pm Post subject: |
|
|
Well it doesnt seem to work with CD audio in MCI. I guess I will try your solution Garrett.
Thanks to both of you.
If someone knows a bit about Delphi, maybe the VDSVOL.dll (which comes with the source code) could be modified to include the mastervolume, midi, aux,cd along with the included WAVE volume control.
Have a nice one... Marty |
|
| Back to top |
|
 |
|