WIP: Fixed audio context issues - ReferenceError in useWaveform, enhanced cleanup, improved playback switching
This commit is contained in:
@@ -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
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user