Clarify how 'audio/driver/output_latency' project setting works
(cherry picked from commit 1e485a7da8
)
This commit is contained in:
parent
9ef3fec87f
commit
77add76a16
1 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,9 @@
|
||||||
Safer override for [member audio/mix_rate] in the Web platform. Here [code]0[/code] means "let the browser choose" (since some browsers do not like forcing the mix rate).
|
Safer override for [member audio/mix_rate] in the Web platform. Here [code]0[/code] means "let the browser choose" (since some browsers do not like forcing the mix rate).
|
||||||
</member>
|
</member>
|
||||||
<member name="audio/output_latency" type="int" setter="" getter="" default="15">
|
<member name="audio/output_latency" type="int" setter="" getter="" default="15">
|
||||||
Output latency in milliseconds for audio. Lower values will result in lower audio latency at the cost of increased CPU usage. Low values may result in audible cracking on slower hardware.
|
Specifies the preferred output latency in milliseconds for audio. Lower values will result in lower audio latency at the cost of increased CPU usage. Low values may result in audible cracking on slower hardware.
|
||||||
|
Audio output latency may be constrained by the host operating system and audio hardware drivers. If the host can not provide the specified audio output latency then Godot will attempt to use the nearest latency allowed by the host. As such you should always use [method AudioServer.get_output_latency] to determine the actual audio output latency.
|
||||||
|
[b]Note:[/b] This setting is ignored on Windows.
|
||||||
</member>
|
</member>
|
||||||
<member name="audio/output_latency.web" type="int" setter="" getter="" default="50">
|
<member name="audio/output_latency.web" type="int" setter="" getter="" default="50">
|
||||||
Safer override for [member audio/output_latency] in the Web platform, to avoid audio issues especially on mobile devices.
|
Safer override for [member audio/output_latency] in the Web platform, to avoid audio issues especially on mobile devices.
|
||||||
|
|
Loading…
Reference in a new issue