Component:AudioInputDeviceInfo: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=AudioInputDeviceInfoComponent.png |Name=Audio Input Device Info }} <!--T:2--> == Fields ==..."
 
info
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{UserspaceComponent}}
{{Infobox Component
{{Infobox Component
|Image=AudioInputDeviceInfoComponent.png
|Image=AudioInputDeviceInfoComponent.png
|Name=Audio Input Device Info
|Name=Audio Input Device Info
}}
}}
The '''AudioDeviceIndexFinder''' component only works in user space, and is used to find an audio device by name and get info about it.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|DeviceIndex|Int|
|DeviceIndex|Int| The device index if found
|DeviceName|String|
|DeviceName|String| the name to use when looking for a device
|IsNeosDefault|Bool|
|IsAppDefault|Bool| Whether this device is resonite's current default
|IsSystemDefault|Bool|
|IsSystemDefault|Bool| Whether this device is the user's OS current default
|DeviceType|AudioInputType|
|DeviceType|AudioInputType| The type of audio device this is.
}}
}}


Line 23: Line 24:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{stub}}


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Audio Input Device Info]]
[[Category:Components{{#translation:}}|Audio Input Device Info]]
[[Category:Components:Audio:Utility{{#translation:}}|Audio Input Device Info]]
[[Category:Components:Audio:Utility{{#translation:}}|Audio Input Device Info]]

Latest revision as of 23:58, 3 May 2025

This is a userspace component — you cannot attach it anywhere but the userspace. Messing with the userspace can be fun, but it is not recommended as you risk messing your dash up if you don't know what you're doing.
Component image 
Audio Input Device Info component as seen in the Scene Inspector

The AudioDeviceIndexFinder component only works in user space, and is used to find an audio device by name and get info about it.

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.
DeviceIndex Int The device index if found
DeviceName String the name to use when looking for a device
IsAppDefault Bool Whether this device is resonite's current default
IsSystemDefault Bool Whether this device is the user's OS current default
DeviceType AudioInputType The type of audio device this is.

Usage

Examples

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

See Also