Skip to content

Commit

Permalink
debug on
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Nov 1, 2024
1 parent 9bb0b83 commit 055b226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 => {
Expand Down

0 comments on commit 055b226

Please sign in to comment.