Automated: update DeDuplicate |
add info |
||
Line 3: | Line 3: | ||
|Name=Audio Output Device Settings | |Name=Audio Output Device Settings | ||
}} | }} | ||
The '''AudioOutputDeviceSettings''' Component is used to set the priority order of output devices for the local user. It also can be used to disable priority and use the system default instead. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|UseSystemDefault|Bool| | |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| | |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 | ||
}} | }} | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|GetDevice()|[[Type:SubsettingGetter|SubsettingGetter]]<[[Type:String|String]]: key>| | |GetDevice()|[[Type:SubsettingGetter|SubsettingGetter]]<[[Type:String|String]]: key>| This returns a setting with the name specified by the methods <code>key</code> input. | ||
}} | }} | ||
== | == Usage == | ||
{{stub}} | |||
== Examples == | == Examples == | ||
The settings menu | |||
== See Also == | == See Also == | ||
Line 25: | Line 27: | ||
[[Category:Components:Uncategorized{{#translation:}}|Audio Output Device Settings]] | [[Category:Components:Uncategorized{{#translation:}}|Audio Output Device Settings]] | ||
[[Category:Components{{#translation:}}|Audio Output Device Settings]] | [[Category:Components{{#translation:}}|Audio Output Device Settings]] | ||
Latest revision as of 22:22, 15 December 2024
Component image
The AudioOutputDeviceSettings Component is used to set the priority order of output devices for the local user. It also can be used to disable priority and use the system default instead.
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. |
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
Method Name | Method type and Arguments. | Description |
---|---|---|
GetDevice()
|
SubsettingGetter<String: key> | This returns a setting with the name specified by the methods key input.
|
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
The settings menu