mirror of
https://github.com/godotengine/godot-platform-haiku.git
synced 2026-01-05 10:10:03 +03:00
-Project/Editor settings now use new inspector
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
This commit is contained in:
@@ -43,7 +43,7 @@ Error AudioDriverMediaKit::init() {
|
||||
speaker_mode = SPEAKER_MODE_STEREO;
|
||||
channels = 2;
|
||||
|
||||
int latency = GLOBAL_DEF("audio/output_latency", 25);
|
||||
int latency = GLOBAL_DEF_RST("audio/output_latency", 25);
|
||||
buffer_size = next_power_of_2(latency * mix_rate / 1000);
|
||||
samples_in = memnew_arr(int32_t, buffer_size * channels);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user