You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a strange phenomenon: when I use MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_ASYNC to load audio data, occasionally, when I repeatedly play and stop an audio file, distortion (glitches) may occur. However, when I load the audio data synchronously, playback works perfectly fine. I'm almost certain this is a threading race condition, but I'm not sure how to try to fix this problem. What should I do?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There is a strange phenomenon: when I use MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_ASYNC to load audio data, occasionally, when I repeatedly play and stop an audio file, distortion (glitches) may occur. However, when I load the audio data synchronously, playback works perfectly fine. I'm almost certain this is a threading race condition, but I'm not sure how to try to fix this problem. What should I do?
Beta Was this translation helpful? Give feedback.
All reactions