fix(audio): robust async buffer loading with state merging + API fallback
- Rewrite loadAudioBuffersForTracks to use functional setTracks preventing loss of intermediate state updates - Add API download endpoint as fallback when static fetch fails - Also update sessionTabs tracks with loaded buffers - return decodeAudioFile result (audioBuffer+channelInfo) instead of just audioBuffer
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user