Skip to content

Commit

Permalink
Update indentation of audioStopReset function
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Oct 12, 2023
1 parent 817d72b commit cff98f8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ function audioStopReset(MIDI){
var audioCxt = MIDI.getContext();
audioCxt.close();
if (MIDI.sources != undefined){
for (var i = 0; i < MIDI.sources.length; i++){
MIDI.sources[i].disconnect();
}
for (var i = 0; i < MIDI.sources.length; i++){
MIDI.sources[i].disconnect();
}
}
var newAudioCxt = new (window.AudioContext || window.webkitAudioContext)();
MIDI.setContext(newAudioCxt);
Expand Down

0 comments on commit cff98f8

Please sign in to comment.