You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove implicit conversions from String, Char16String and CharString to data pointers. Make conversions to StrRange implicit to aid transition.
This commit is contained in:
@@ -63,7 +63,7 @@ void TTS_Linux::speech_init_thread_func(void *p_userdata) {
|
||||
} else {
|
||||
class_str = config_name.utf8();
|
||||
}
|
||||
tts->synth = spd_open(class_str, "Godot_Engine_Speech_API", "Godot_Engine", SPD_MODE_THREADED);
|
||||
tts->synth = spd_open(class_str.get_data(), "Godot_Engine_Speech_API", "Godot_Engine", SPD_MODE_THREADED);
|
||||
if (tts->synth) {
|
||||
tts->synth->callback_end = &speech_event_callback;
|
||||
tts->synth->callback_cancel = &speech_event_callback;
|
||||
|
||||
Reference in New Issue
Block a user