Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

AVRecorder.SetAudioDevice

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

Parameters

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

Result

Returns OK or error.

Description

Sets the audio device to use.

Examples

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

Blog Entries

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


AVRecorder.RequestAccessForMediaType   -   AVRecorder.SetAutomaticallyAdjustsVideoMirroring

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins