mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-11 05:31:51 +09:00
TAD: even the slight companding vastly improves low-volume samples but also increases encoded size by a lot
This commit is contained in:
@@ -85,8 +85,8 @@ int main(int argc, char *argv[]) {
|
||||
break;
|
||||
case 'q':
|
||||
quant_bits = atoi(optarg);
|
||||
if (quant_bits < 4 || quant_bits > 12) {
|
||||
fprintf(stderr, "Error: Quantization bits must be between 4 and 12\n");
|
||||
if (quant_bits < 2 || quant_bits > 12) {
|
||||
fprintf(stderr, "Error: Quantization bits must be between 2 and 12\n");
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user