Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the volume.

Component Version macOS Windows Linux Server iOS SDK
AVPlayer 7.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVPlayer.SetVolume"; AVPlayer; Volume )   More


Parameter Description Example
AVPlayer The reference number of the player. $Player
Volume The new volume.
Zero is no volume like muted.


Returns OK or error.


Sets the volume.
Default is 1.0. You can for example set to 0.5 for half volume.


Sets volume:

Set Variable [$r; Value:MBS("AVPlayer.SetVolume"; $$Player; AVPlayer::Volume)]
Set Field [AVPlayer::Volume; MBS("AVPlayer.GetVolume"; $$Player)]

See also

Example Databases

This function checks for a license.

Created 3th February 2017, last changed 3th February 2017

AVPlayer.SetVisible - AVRecorder.AddPreviewToWindow

💬 Ask a question or report a problem