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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the audio device to use.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 6.1 Yes Yes No No Yes
MBS( "AVRecorder.SetAudioDevice"; AVSession; Device )   More


Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
Device The device name, ID or index. 0


Returns OK or error.


Sets the audio device to use.


Sets first audio device:

Set Variable [$r; Value:MBS("AVRecorder.SetAudioDevice"; AVRecorder::Session; 0)]

Use audio device with name "Built-in Microphone":

Set Variable [$r; Value:MBS("AVRecorder.SetAudioDevice"; AVRecorder::Session; "Built-in Microphone")]

See also

Example Databases

Created 9th February 2016, last changed 22nd February 2016

AVRecorder.RequestAccessForMediaType   -   AVRecorder.SetAutomaticallyAdjustsVideoMirroring

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins