Skip to content

Commit

Permalink
Fixed oscilloscope not cleared when switching between IA playback and…
Browse files Browse the repository at this point in the history
… offline library
  • Loading branch information
basharovV committed Jul 19, 2024
1 parent 173747c commit 6ad2b52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/player/AudioVisualiser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class AudioVisualiser {
}

tearDown() {

this.clearCanvas();
}
}

1 change: 1 addition & 0 deletions src/lib/player/WebAudioVisualiser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ export class WebAudioVisualiser {

tearDown() {
audioPlayer.disconnectAnalyser();
this.clearCanvas();
}
}

0 comments on commit 6ad2b52

Please sign in to comment.