forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Controlling the MAIN volume in windows via VDS

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Thu Jan 03, 2002 4:59 pm    Post subject: Controlling the MAIN volume in windows via VDS Reply with quote

Cool 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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
easy rider
Valued Newbie


Joined: 10 Sep 2001
Posts: 26
Location: Netherlands

PostPosted: Thu Jan 03, 2002 7:16 pm    Post subject: Reply with quote

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 Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Jan 04, 2002 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Jan 04, 2002 2:06 pm    Post subject: Reply with quote

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.

Wink

Have a nice one... Marty
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group