Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the audio volume.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WMFP | 10.0 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
Player | The reference number for the Windows Media Foundation Player object. | $$Player |
Volume | The new volume value. |
Returns OK or error.
Set to volume to 50%:
Set Variable [$r; Value: MBS( "WMFP.SetVolume"; $$Player; 0.5 ) ]
This function checks for a license.
Created 25th December 2019, last changed 17th July 2022