carta1 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -405,8 +405,8 @@ async function encodeFile(inputFile, outputFile, options) {
|
|
|
405
405
|
|
|
406
406
|
// Create encoder options with spectrum focus if provided
|
|
407
407
|
const encoderOptions = new EncoderOptions()
|
|
408
|
-
if (options.
|
|
409
|
-
encoderOptions.setValue('allocationBias', options.
|
|
408
|
+
if (options.bias !== undefined) {
|
|
409
|
+
encoderOptions.setValue('allocationBias', options.bias)
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
const encodedFrames = AudioProcessor.encodeStream(reader, {
|