Skip to content

Commit

Permalink
Minor fix in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Dec 31, 2024
1 parent 1d88c53 commit 96ba147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/custom-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class CustomGainFilter extends AbstractAudioFilter {

getNode(context) {
const gainNodeFilter = context.createGain();
gainNodeFilter.gain = this.gainIncrease;
gainNodeFilter.gain.value = this.gainIncrease;

return {
input: gainNodeFilter,
Expand Down

0 comments on commit 96ba147

Please sign in to comment.