File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
source/lime/_internal/backend/native Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,6 @@ class NativeAudioSource {
8787
8888 inline private static function getFloat (x : Int64 ): Float return x .high * 4294967296. + (x .low >> 0);
8989
90- inline private static function gc () {
91- #if neko
92- neko.vm. Gc .run (false );
93- #elseif cpp
94- cpp.vm. Gc .run (false );
95- #end
96- }
97-
9890 // Backward Compatibility Variables
9991 var handle (get , set ): ALSource ; inline function get_handle () return source ; inline function set_handle (v ) return source = v ;
10092 var timer (get , set ): Timer ; inline function get_timer () return completeTimer ; inline function set_timer (v ) return completeTimer = v ;
@@ -494,7 +486,6 @@ class NativeAudioSource {
494486 if ((process = (v = STREAM_MAX_BUFFERS - source .requestBuffers ) > process ? process : v ) > 0 ) source .fillBuffers (process );
495487 }
496488 streamMutex .release ();
497- gc ();
498489 }
499490
500491 threadRunning = false ;
@@ -517,7 +508,7 @@ class NativeAudioSource {
517508 AL .sourcePlay (source .source );
518509 source .updateCompleteTimer ();
519510 }
520- if (source , streamEnded && source .requestBuffers == source .queuedBuffers ) source .removeStream ();
511+ if (source . streamEnded && source .requestBuffers == source .queuedBuffers ) source .removeStream ();
521512 }
522513 }
523514
You can’t perform that action at this time.
0 commit comments