mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Reorganize Project Settings
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
This commit is contained in:
parent
8eaea1db53
commit
64140eaf42
64 changed files with 523 additions and 476 deletions
|
@ -105,8 +105,8 @@ void AudioDriverJavaScript::_audio_driver_capture(int p_from, int p_samples) {
|
|||
}
|
||||
|
||||
Error AudioDriverJavaScript::init() {
|
||||
mix_rate = GLOBAL_GET("audio/mix_rate");
|
||||
int latency = GLOBAL_GET("audio/output_latency");
|
||||
mix_rate = GLOBAL_GET("audio/driver/mix_rate");
|
||||
int latency = GLOBAL_GET("audio/driver/output_latency");
|
||||
|
||||
channel_count = godot_audio_init(mix_rate, latency, &_state_change_callback, &_latency_update_callback);
|
||||
buffer_length = closest_power_of_2((latency * mix_rate / 1000));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue