[mirotalk] - fix typo

This commit is contained in:
Miroslav Pejic
2022-09-23 17:24:22 +02:00
parent e4a72ffb1b
commit 7cba1d036e
+1 -1
View File
@@ -5,7 +5,7 @@
* @param {object} stream media stream audio
*/
async function startPitchDetection(stream) {
if (isAudioContextSupported) {
if (isAudioContextSupported()) {
pitchDetectionStatus = true;
audioContext = new (window.AudioContext || window.webkitAudioContext)();
mediaStreamSource = audioContext.createMediaStreamSource(stream);