diff --git a/doc/format.html b/doc/format.html index f0df84bd..295e3406 100644 --- a/doc/format.html +++ b/doc/format.html @@ -463,7 +463,7 @@ <5> - (bits per sample)-1. FLAC supports from 1 to 32 bits per sample. Currently the reference encoder and decoders only support up to 24 bits per sample. + (bits per sample)-1. FLAC supports from 4 to 32 bits per sample. Currently the reference encoder and decoders only support up to 24 bits per sample. diff --git a/include/FLAC/format.h b/include/FLAC/format.h index 73698fac..f93eb105 100644 --- a/include/FLAC/format.h +++ b/include/FLAC/format.h @@ -26,6 +26,7 @@ #define FLAC__MIN_BLOCK_SIZE (16u) #define FLAC__MAX_BLOCK_SIZE (65535u) #define FLAC__MAX_CHANNELS (8u) +#define FLAC__MIN_BITS_PER_SAMPLE (4u) /*NOTE: only up to 24 because of the current predictor coefficient quantization and the fact we use int32s for all work */ #define FLAC__MAX_BITS_PER_SAMPLE (24u) /* the following is ((2 ** 20) - 1) div 10 */