WIP: Fixed audio context issues - ReferenceError in useWaveform, enhanced cleanup, improved playback switching

This commit is contained in:
Mistral Vibe
2026-04-08 17:00:28 +02:00
parent 5f95d88741
commit 9c032d0774
3 changed files with 79 additions and 14 deletions

View File

@@ -35,12 +35,16 @@ export function useWaveform(
currentTime: globalCurrentTime,
currentSongId,
currentBandId: globalBandId,
currentPlayingSongId,
currentPlayingBandId,
setCurrentSong
} = usePlayerStore(state => ({
isPlaying: state.isPlaying,
currentTime: state.currentTime,
currentSongId: state.currentSongId,
currentBandId: state.currentBandId,
currentPlayingSongId: state.currentPlayingSongId,
currentPlayingBandId: state.currentPlayingBandId,
setCurrentSong: state.setCurrentSong
}));