Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

AVPlayer.SetVolume

Sets the volume.

Component: AVPlayer
Version: 7.1
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

MBS( "AVPlayer.SetVolume"; AVPlayer; Volume )

Parameters

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

Result

Returns OK or error.

Description

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

Examples

Sets volume:

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

See also


AVPlayer.SetTime   -   AVRecorder.AddPreviewToWindow

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Christians Software aus Nickenich