kopia lustrzana https://github.com/backface/turtlestitch
tweaked microphone to keep running while a modifier reporter exists
rodzic
d07b35a2d8
commit
c39e9eb115
|
@ -9072,7 +9072,10 @@ Microphone.prototype.createProcessor = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
Microphone.prototype.stepAudio = function (event) {
|
Microphone.prototype.stepAudio = function (event) {
|
||||||
if (this.isAutoStop && ((Date.now() - this.lastTime) > 5000)) {
|
if (this.isAutoStop &&
|
||||||
|
((Date.now() - this.lastTime) > 5000) &&
|
||||||
|
!this.modifier
|
||||||
|
) {
|
||||||
this.stop();
|
this.stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue