Change Capture Device By Id
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.
Name | Type | Description |
---|
Exec | exec | |
New Device Id | string | The id of the targeted capture device. |
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. |