change min bps from 1 to 4

This commit is contained in:
Josh Coalson 2001-03-28 22:12:39 +00:00
parent a2a9356662
commit 801ec6028a
2 changed files with 2 additions and 1 deletions

View File

@ -463,7 +463,7 @@
<5>
</TD>
<TD>
(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.
</TD>
</TR>
<TR>

View File

@ -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 */