WMFP.SetMute
------------

Sets whether the audio is muted.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMFP](component_WMFP.md) | [10.0](newinversion100.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMFP.SetMute"; Player; Value ) 

**MBS**( **"WMFP.SetMute";** /\* Sets whether the audio is muted. \*/  
**$Player**; /\* The reference number for the Windows Media Foundation Player object.e.g. $$Player \*/   
**$Value**) /\* The new setting.  
Pass 1 to mute or 0 to unmute.e.g. 1 \*/ 

### 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

- [WMFP.GetMute](WMFPGetMute.md)
- [WMFP.GetRate](WMFPGetRate.md)
- [WMFP.SetRate](WMFPSetRate.md)

### Blog Entries

- [Windows Media Foundation Player for FileMaker](https://www.mbsplugins.de/archive/2019-12-26/Windows_Media_Foundation_Playe/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 25th December 2019 , last changed 26th December 2019

  
[WMFP.SetLoop](WMFPSetLoop.md) - [WMFP.SetPlaybackEndedScriptTrigger](WMFPSetPlaybackEndedScriptTrigger.md)

[HTML Version](WMFPSetMute.shtml)