diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-08-08 11:59:35 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-08-08 11:59:35 +0200 |
| commit | 4013e79a7421b9e6baacc8e34ae7a8ef188b38cb (patch) | |
| tree | 6e3c3b4b783a5709ca3e85b1a0aa5f9bf3f728c4 | |
| parent | fc36ac7fea89447682868dc40cc9a818afc51c5c (diff) | |
| download | snap-4013e79a7421b9e6baacc8e34ae7a8ef188b38cb.tar.gz snap-4013e79a7421b9e6baacc8e34ae7a8ef188b38cb.zip | |
fix yet another note pause bug
| -rw-r--r-- | threads.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -427,7 +427,10 @@ Process.prototype.resume = function () { this.isPaused = false; this.pauseOffset = null; if (this.context.activeNote) { - this.context.activeNote.play(); + if (this.context.activeNote.oscillator === null) { + // prevents Note from resuming twice + this.context.activeNote.play(); + } } }; |
