kopia lustrzana https://github.com/backface/turtlestitch
stop microphone output when the user presses the stop button
rodzic
6c024bab40
commit
4e0a407ecb
|
@ -64,6 +64,7 @@
|
||||||
* Objects: tweaked oscillator fade-out
|
* Objects: tweaked oscillator fade-out
|
||||||
* Blocks, Threads: added "sample rate" selector to microphone drow-down
|
* Blocks, Threads: added "sample rate" selector to microphone drow-down
|
||||||
* updated German translation for "sample rate"
|
* updated German translation for "sample rate"
|
||||||
|
* Objects: stop microphone output when the user presses the stop button
|
||||||
|
|
||||||
### 2019-04-04
|
### 2019-04-04
|
||||||
* Objects, Threads: new "play frequency" commands in the Sounds category
|
* Objects, Threads: new "play frequency" commands in the Sounds category
|
||||||
|
|
|
@ -8120,6 +8120,9 @@ StageMorph.prototype.stopAllActiveSounds = function () {
|
||||||
audio.pause();
|
audio.pause();
|
||||||
});
|
});
|
||||||
this.activeSounds = [];
|
this.activeSounds = [];
|
||||||
|
if (this.microphone.modifier && this.microphone.isReady) {
|
||||||
|
this.microphone.stop();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
StageMorph.prototype.pauseAllActiveSounds = function () {
|
StageMorph.prototype.pauseAllActiveSounds = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue