Comparing version 0.2.4 to 0.2.5
@@ -185,2 +185,3 @@ import text from './glicol-engine' | ||
this.audioContext = new AudioContext() | ||
this.audioContext.suspend() | ||
@@ -226,2 +227,3 @@ const blob = new Blob([text], { type: "application/javascript" }); | ||
run(code) { | ||
this.audioContext.resume() | ||
if (this.codeWriter.available_write()) { | ||
@@ -228,0 +230,0 @@ this.codeWriter.enqueue(this.encoder.encode(code)) |
{ | ||
"name": "glicol", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "An easy-to-use audio engine for browser-based music apps.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2078858
552