| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WMFP.SetMute
Sets whether the audio is muted.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WMFP | 10.0 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WMFP.SetMute"; Player; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Player | The reference number for the Windows Media Foundation Player object. | $$Player |
| Value | The new setting. Pass 1 to mute or 0 to unmute. |
1 |
Result
Returns OK or error.
Description
Sets whether the audio is muted.Pass 1 to mute.
Examples
Disable sound:
Set Variable [$r; Value: MBS( "WMFP.SetMute"; $$Player; 1 ) ]
Enable sound:
Set Variable [$r; Value: MBS( "WMFP.SetMute"; $$Player; 0 ) ]
See also
Blog Entries
This function checks for a license.
Created 25th December 2019, last changed 26th December 2019