AVRecorder.GetAudioDevice
-------------------------

Queries name of audio device in use.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVRecorder](component_AVRecorder.md) | [6.1](newinversion61.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "AVRecorder.GetAudioDevice"; AVSession ) 

**MBS**( **"AVRecorder.GetAudioDevice";** /\* Queries name of audio device in use. \*/  
**$AVSession**) /\* The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). | $AVSession |

### Result

Returns text or error.

### Description

Queries name of audio device in use.  
### Examples

Query audio device:

 Show Custom Dialog \["Audio Device"; MBS ("AVRecorder.GetAudioDevice"; AVRecorder::Session )\]  
### See also

- [AVRecorder.AudioDeviceInfo](AVRecorderAudioDeviceInfo.md)
- [AVRecorder.GetVideoDevice](AVRecorderGetVideoDevice.md)
- [AVRecorder.Init](AVRecorderInit.md)
- [AVRecorder.SetAudioDevice](AVRecorderSetAudioDevice.md)
- [AVRecorder.SetVideoDevice](AVRecorderSetVideoDevice.md)

### Example Databases

- [AVRecorder/AVRecorder iOS Test](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/AVRecorder/AVRecorder%20iOS%20Test.shtml#5ScriptAnchor_)
- [AVRecorder/AVRecorder](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/AVRecorder/AVRecorder.shtml#5ScriptAnchor_)

This function checks for a license.

Created 9th February 2016 , last changed 19th February 2016

  
[AVRecorder.EncoderInfo](AVRecorderEncoderInfo.md) - [AVRecorder.GetAutomaticallyAdjustsVideoMirroring](AVRecorderGetAutomaticallyAdjustsVideoMirroring.md)

[HTML Version](AVRecorderGetAudioDevice.shtml)