Skip to content

Commit

Permalink
Remove options from processor of Bitcrusher example (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin authored Jul 23, 2024
1 parent 8a6d8a8 commit 89b51b1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -12197,10 +12197,8 @@ class Bitcrusher extends AudioWorkletProcessor {
}];
}

constructor (options) {
// The initial parameter value can be set by passing |options|
// to the processor's constructor.
super(options);
constructor () {
super();
this._phase = 0;
this._lastSampleValue = 0;
}
Expand Down

0 comments on commit 89b51b1

Please sign in to comment.