Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  

WMFP.SetBalance

Sets current audio balance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WMFP 10.0 No Yes Yes, Windows only No No
MBS( "WMFP.SetBalance"; Player; Value )   More

Parameters

Parameter Description Example value
Player The reference number for the Windows Media Foundation Player object. $$Player
Value The new value. 0

Result

Returns OK or error.

Description

Sets current audio balance.
The value can be any number in the following range (inclusive).

ValueMeaning
-1.0The left channel is at full volume; the right channel is silent.
+1.0The right channel is at full volume; the left channel is silent.

If the value is zero, the left and right channels are at equal volumes. The default value is zero.

Examples

Set balance to play only right speaker:

MBS( "WMFP.SetBalance"; $$Player; 1.0)

See also

Blog Entries

Created 25th December 2019, last changed 13th January 2020


WMFP.Screenshot   -   WMFP.SetBorder

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins