PDA

View Full Version : Any chance for a volume control or a Mute feature?


ishopper
03-13-2006, 06:24 PM
Hello,

Is there any chance to function for the user who use the application I design with APMS6 an option of volume control or mute feature. I am not only talking about movies played in the application. I also mean sounds when the user click on a button or flipping sounds between pages ...etc.
I succeeded to make two buttons to lower or higher the volume control by a fixed number but how could I make a slider?

yosik
03-14-2006, 05:46 AM
You can use Worm's fcsound.dll which has been posted on the forum to control volume of your system.
As to the slider, you could use a slider plugin object and use the ratio (slider position)/( slider range) to get or set your relative volume.

Yossi

Mina
03-14-2006, 08:05 AM
You can use Worm's fcsound.dll which has been posted on the forum to control volume of your system.
As to the slider, you could use a slider plugin object and use the ratio (slider position)/( slider range) to get or set your relative volume.

Yossi

Yup. Just to be helpful, the fcsound.dll can be found
1- In my Site (http://www.mina-e.com/et.html)
2- In this forum (http://www.indigorose.com/forums/showthread.php?t=14305)

playmenow
03-14-2006, 02:01 PM
Or you can make that with a slider. Is the simpliest way you can find...eg, for media player plug-in:
Slider ---> On Position Change
MediaPlayer.SetVolume("Media1", e_Pos)

Very simple, isn't it?