Skip to content

Commit

Permalink
don't require 8-bit output to generate IMA samples
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Oct 6, 2020
1 parent bfe15fb commit ece6a84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/wav2maud.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ export default class extends TOOL {
if ("ima" === this.output.format) {
if (1 !== this.output.numChannels)
throw new Error("ima must be mono");
if (16 !== this.output.bitsPerSample)
throw new Error("ima requires 16-bit samples");
this.output.bitsPerSample = 16;
}

let parts = this.splitPath(this.inputPath);
Expand Down

0 comments on commit ece6a84

Please sign in to comment.