add info |
frames -> samples again |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|MaxVoices|Int| | |MaxVoices|Int| The maximum voices the user is allowed to hear. | ||
|OutputBufferSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv1=true| The output buffer size in | |OutputBufferSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv1=true| The output buffer size in samples. | ||
|SimulationFrameSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv2=true| The simulation buffer size in | |SimulationFrameSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv2=true| The simulation buffer size in samples. | ||
}} | }} | ||
== AudioFrameSize == | == AudioFrameSize == | ||
{{Table EnumValues | {{Table EnumValues | ||
|VeryLow256|256| 256 | |VeryLow256|256| 256 samples. | ||
|Low512|512| 512 | |Low512|512| 512 samples. | ||
|Medium1024|1024| 1024 | |Medium1024|1024| 1024 samples. | ||
|Large2048|2048| 2048 | |Large2048|2048| 2048 samples. | ||
|VeryLarge4096|4096| 4096 | |VeryLarge4096|4096| 4096 samples. | ||
|ExtremelyLarge8192|8192| 8192 | |ExtremelyLarge8192|8192| 8192 samples. | ||
|TestingOneSecond|48000| Sets buffer to one second | |TestingOneSecond|48000| Sets buffer to hold one second worth of samples. | ||
}} | }} | ||
Latest revision as of 23:52, 9 May 2025
Component image File:AudioPerformanceSettingsComponent.pngAudio Performance Settings component as seen in the Scene Inspector
The Audio Performance Settings component is part of the Settings that control audio buffers.
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. |
MaxVoices
|
Int | The maximum voices the user is allowed to hear. |
OutputBufferSize
|
AudioPerformanceSettings.AudioFrameSize | The output buffer size in samples. |
SimulationFrameSize
|
AudioPerformanceSettings.AudioFrameSize | The simulation buffer size in samples. |
AudioFrameSize
Name | Value | Description |
---|---|---|
VeryLow256
|
256 | 256 samples. |
Low512
|
512 | 512 samples. |
Medium1024
|
1024 | 1024 samples. |
Large2048
|
2048 | 2048 samples. |
VeryLarge4096
|
4096 | 4096 samples. |
ExtremelyLarge8192
|
8192 | 8192 samples. |
TestingOneSecond
|
48000 | Sets buffer to hold one second worth of samples. |
Usage
See Settings.
Examples
See Settings.