Component:AudioInputDeviceSettings: Difference between revisions

From Resonite Wiki
Add some info, format
not a stub anymore
Line 3: Line 3:
|Name=Audio Input Device Settings
|Name=Audio Input Device Settings
}}
}}
{{stub}}
The '''AudioInputDeviceSettings''' Component is used to set the priority order of input devices for the local user. It also can be used to disable priority and use the system default instead.
The '''AudioInputDeviceSettings''' Component is used to set the priority order of input devices for the local user. It also can be used to disable priority and use the system default instead.


Line 10: Line 9:
|UseSystemDefault|Bool| Whether or not to use the user's default device on their OS or not.
|UseSystemDefault|Bool| Whether or not to use the user's default device on their OS or not.
|DevicePriorities|{{RootFieldType|SyncList`1|[[Type:DevicePriorityEntry|DevicePriorityEntry]]}}|TypeAdv1=true| A list of devices and their priority which is the order to use them in.
|DevicePriorities|{{RootFieldType|SyncList`1|[[Type:DevicePriorityEntry|DevicePriorityEntry]]}}|TypeAdv1=true| A list of devices and their priority which is the order to use them in.
|DevicePrioritiesEnabled|Bool|
|DevicePrioritiesEnabled|Bool| Whether the "Use Default Device" setting is turned on or off
}}
}}


Line 19: Line 18:


== Usage ==
== Usage ==
{{stub}}


== Examples ==
== Examples ==
The settings menu


== See Also ==
== See Also ==
Line 26: Line 27:
[[Category:Components:Uncategorized{{#translation:}}|Audio Input Device Settings]]
[[Category:Components:Uncategorized{{#translation:}}|Audio Input Device Settings]]
[[Category:Components{{#translation:}}|Audio Input Device Settings]]
[[Category:Components{{#translation:}}|Audio Input Device Settings]]
[[Category:ComponentStubs]]

Revision as of 20:54, 13 December 2024

Component image 
Audio Input Device Settings component as seen in the Scene Inspector

The AudioInputDeviceSettings Component is used to set the priority order of input devices for the local user. It also can be used to disable priority and use the system default instead.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
UseSystemDefault Bool Whether or not to use the user's default device on their OS or not.
DevicePriorities list of DevicePriorityEntry A list of devices and their priority which is the order to use them in.
DevicePrioritiesEnabled Bool Whether the "Use Default Device" setting is turned on or off

Sync Delegates

Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
Triggers
Method Name Method type and Arguments. Is the method hidden? Description

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

The settings menu

See Also