Merge pull request #940 from marcelblum/patch-1

Analyser constructor bugfix for ignored smoothing option
This commit is contained in:
Yotam Mann 2021-10-13 09:42:41 -07:00 committed by GitHub
commit b1526c3578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,6 +79,7 @@ export class Analyser extends ToneAudioNode<AnalyserOptions> {
// set the values initially
this.size = options.size;
this.type = options.type;
this.smoothing = options.smoothing;
}
static getDefaults(): AnalyserOptions {