AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones multimedia
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MultimediaVolume (Function)
In french: MultimediaVolume
Returns or modifies the sound volume of the media file played in a Multimedia control.
WEBDEV - Browser code Remark: 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.
Example
WINDEVReports and QueriesUniversal Windows 10 AppUser code (UMC)
MyFile is string = "C:\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 the Multimedia control to be used.

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: wd290obj.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local