Skip to content

Commit

Permalink
add: update removeAllFilters API
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleactii committed Mar 13, 2024
1 parent 3cfdae7 commit 4603791
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sound.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ class Sound {
// Remove all filters from this sound.
this._filters.forEach((pElement) => {
pElement.disconnect(this.gainNode);
this.source.connect(this.gainNode);
});
}
/**
Expand Down

0 comments on commit 4603791

Please sign in to comment.