Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    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 )


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

AVRecorder.Release   -   AVRecorder.SetAutomaticallyAdjustsVideoMirroring

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos