Our new developer documentation is now available. Please check it out!
Change Capture Device By Name
IMPORTANT! Use the Async version in case you experience stuttering. Updates the capture device and restarts the capture stream of the Audio Capture component. The Async version runs asynchronously and does not block the main thread.
Inputs
Name | Type | Description |
---|---|---|
Exec | exec | |
Device Name | name | The name of the targeted capture device. Needs to be an exact match. |
On Change Completed (Async Only) | delegate | Callback for when the change result is available. Used only in the async version. |
Outputs
Name | Type | Description |
---|---|---|
Exec | exec | |
Success | boolean | Whether or not the capture device was successfully changed. This is for the synchronous version only. |