Update index.js
Browse files25 unmodified lines26272829293031327 unmodified lines404142434344454625 unmodified linesfunction webmToMp3(inputBuffer) { return new Promise((resolve, reject) => { // Membuat stream dari buffer const inputStream = new stream.PassThrough(); const inputStream = new PassThrough(); inputStream.end(inputBuffer);
// Membuat buffer output7 unmodified lines outputBuffer = Buffer.concat([outputBuffer, chunk]); }) .on('end', () => resolve(outputBuffer)) .output(stream.PassThrough()) // Menambahkan output stream .output(PassThrough()) // Menambahkan output stream .run(); });}index.js+2-2