SHA256
Fix Audio Cleanup On Render Abort
This commit is contained in:
1 parent
89f15eca1e
commit
455436e744
2 files changed
+28
-12
No files matched your search
@@ -171,6 +171,7 @@ internal static class AudioSpectrumGenerator
|
||||
if (!_view.IsValid || !_view.Contains(frame))
|
||||
{
|
||||
source.Release(_view);
|
||||
_view = default;
|
||||
_view = _store!.Acquire(source, frame);
|
||||
if (!_view.IsValid) return 0.0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user