seanadams;420359 Wrote: 
> Interesting... although I'm still not clear as to why it works. FLAC
> uses rice coding on a sample-by-sample basis, not a general
> byte-at-a-time huffman/dictionary/window scheme (which would be useless
> for audio). Makes me wonder if it's handled as a special case...
> 
> ... ah yes, here it is:
> 
> SUBFRAME_HEADER
> [...]
> 
> <1+k>         'Wasted bits-per-sample' flag:
> 
> * 0 : no wasted bits-per-sample in source subblock, k=0
> * 1 : k wasted bits-per-sample in source subblock, k-1 follows,
> unary coded; e.g. k=3 => 001 follows, k=7 => 0000001 follows.

This must be a good strategy for saving space. Before the loudness war,
there could be CD's that didn't use all 16bit's all the time ? If this
so called "subblocks" (how many ms of sound is this ?) gets coded
according to their actual bit depth, this must be a part of gneral space
saving scheme ?


-- 
Mnyb
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=62874

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/audiophiles

Reply via email to