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:
@ -179,7 +179,7 @@ Error AudioDriverPulseAudio::init_device() {
|
||||
break;
|
||||
}
|
||||
|
||||
int latency = GLOBAL_GET("audio/output_latency");
|
||||
int latency = GLOBAL_GET("audio/driver/output_latency");
|
||||
buffer_frames = closest_power_of_2(latency * mix_rate / 1000);
|
||||
pa_buffer_size = buffer_frames * pa_map.channels;
|
||||
|
||||
@ -241,7 +241,7 @@ Error AudioDriverPulseAudio::init() {
|
||||
thread_exited = false;
|
||||
exit_thread = false;
|
||||
|
||||
mix_rate = GLOBAL_GET("audio/mix_rate");
|
||||
mix_rate = GLOBAL_GET("audio/driver/mix_rate");
|
||||
|
||||
pa_ml = pa_mainloop_new();
|
||||
ERR_FAIL_COND_V(pa_ml == nullptr, ERR_CANT_OPEN);
|
||||
|
||||
Reference in New Issue
Block a user