PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
MultimediaVolume (Function)
In french: MultimediaVolume
Returns or modifies the sound volume of the multimedia file played in a Multimedia control.
Versions 15 and later
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
New in version 15
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code Note: Depending on the video type and on the browser configuration, this function may not be supported. In this case, its use will have no effect but no error will be triggered.
Versions 17 and later
Android This function is now available for Android applications.
New in version 17
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEVReports and QueriesUniversal Windows 10 AppUser code (UMC)
MyFile is string = "C:\My music\mysong.mp3"
// For Windows Mobile:
// MyFile is string = "\My Documents\My music\mysong.mp3"
 
MultimediaPlay(MM_Multimedia1, MyFile)
// Defines the sound
MultimediaVolume(MM_Multimedia1, 50)
Syntax

Finding out the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control>)
<Result>: Integer
Current sound volume (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.

Modifying the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control> , <New volume>)
<Result>: Integer
Sound volume before modification (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.
<New volume>: Integer
Requested sound volume (between 0 and 100, 0 for mute).
Component : wd240obj.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment