Page 1 of 1

Raising Volume With mciSendString

Posted: Mon Dec 01, 2014 10:18 am
by Googie85
I am trying to turn the system volume up to the maximum using mciSendString. I have looked at the Microsoft factsheet on MCI and am at a loss. I am trying to play a .WAV file also and I am using MCI to do that, instead of PLAY (File) in LiveCode. Any help would be appreciated.

Many Thanks,

Matthew.

Re: Raising Volume With mciSendString

Posted: Mon Dec 01, 2014 1:11 pm
by Klaus
Hi Matthew,

MCI, oh boy! I thought that this had been depercated aeons ago :D

Sorry, no idea aobut this Windows specific thingie, but maybe you
can simply use and set "the playloudness"!?

If you omit a target "set the playloudness of player xyz to XX", this will manage
the overall system volume -> set the playloudness to 50


Best

Klaus

Re: Raising Volume With mciSendString

Posted: Mon Dec 01, 2014 2:12 pm
by Googie85
What would I supply as "Player" the application name?

Re: Raising Volume With mciSendString

Posted: Mon Dec 01, 2014 2:23 pm
by Klaus
Hi Matthew,
Googie85 wrote:What would I supply as "Player" the application name?
No! As I wrote: supply NOTHING! :D

In that case you set the system volume!
...
set the playloudness to 50
...
Will set the GLOBAL system volume to 1/2 (50%)
Please look up "playloudness" in the doctionary!


Best

Klaus