From 055b2266dc15f462c6ec55c75cec6afca8b07839 Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Fri, 1 Nov 2024 21:32:34 +0000 Subject: [PATCH] debug on --- js/worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/worker.js b/js/worker.js index 86dfa34..81c9fe8 100644 --- a/js/worker.js +++ b/js/worker.js @@ -20,7 +20,7 @@ if (process.platform === 'win32') { ntsuspend = require('ntsuspend'); isWin32 = true; } -const DEBUG = false; +const DEBUG = true; // Function to join Buffers and not use Buffer.concat() which leads to detached ArrayBuffers function joinBuffers(buffer1, buffer2) { @@ -141,7 +141,7 @@ const setupFfmpegCommand = ({ const command = ffmpeg('file:' + file) .format(format) .audioChannels(channels) - .audioFrequency(sampleRate); + // .audioFrequency(sampleRate); // Add filters if provided additionalFilters.forEach(filter => {