Created attachment 2023[details]
solution
Function S_UpdateBackgroundTrack() hangs under some specific condition:
when bufferSamples!=0, but fileSamples==0 - this occurs when s_backgroundStream->info.rate is less than dma.speed. Bug can be reproduced by setting s_sdlSpeed to 48000
Created attachment 2023 [details] solution Function S_UpdateBackgroundTrack() hangs under some specific condition: when bufferSamples!=0, but fileSamples==0 - this occurs when s_backgroundStream->info.rate is less than dma.speed. Bug can be reproduced by setting s_sdlSpeed to 48000