flac icon indicating copy to clipboard operation
flac copied to clipboard

Documentation - incorrect range of qlp-coeff-precision parameter

Open krzotr opened this issue 10 months ago • 2 comments

On the documentation website https://xiph.org/flac/documentation_tools_flac.html I see an incorrect range of qlp-coeff-precision parameter.

Documentation says it's between 5 and 16, but running flac v1.5.0 is must be 0 or between 5 and 15, inclusive

# https://xiph.org/flac/documentation_tools_flac.html

-q #, --qlp-coeff-precision=#
Precision of the quantized linear-predictor coefficients. This number must be in between 5 and **16**, or 0 (the default) to let encoder decide. Does nothing if using -l 0.
# flac.exe -j 8 -f -V -8 -b 4600 -r 8 --qlp-coeff-precision 16  audio-20250301_183808.wav
ERROR: invalid value '16' for qlp coeff precision (-q), must be 0 or between 5 and 15, inclusive
Type "flac" for a usage summary or "flac --help" for all options

krzotr avatar Mar 01 '25 18:03 krzotr

My blame. Working on an improved help file already.

(The FLAC format itself forbids 16, so it is solely a documentation issue.)

H2Swine avatar Mar 02 '25 20:03 H2Swine

So I obviously messed up something. Let's see #818 , ignore what I did above that one.

H2Swine avatar Mar 03 '25 16:03 H2Swine