You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge branch 'master' of https://github.com/godotengine/godot
This commit is contained in:
@@ -767,9 +767,10 @@ void AudioServerSW::free(RID p_id) {
|
||||
|
||||
void AudioServerSW::_thread_func(void *self) {
|
||||
|
||||
|
||||
AudioServerSW *as=(AudioServerSW *)self;
|
||||
|
||||
as->thread->set_name("AudioServerSW");
|
||||
|
||||
while (!as->exit_update_thread) {
|
||||
as->_update_streams(true);
|
||||
OS::get_singleton()->delay_usec(5000);
|
||||
@@ -810,7 +811,6 @@ void AudioServerSW::init() {
|
||||
#ifndef NO_AUDIO_THREADS
|
||||
exit_update_thread=false;
|
||||
thread = Thread::create(_thread_func,this);
|
||||
thread->set_name("AudioServerSW");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user