Hey guys,
I'm programming a decoder for mpeg-1 (specifically to read the info, not necessary to play it yet), and I'm on layer II audio at the moment.
The question I have is this: how do I turn the values on the allocation tables into the number of bits I have to read for the samples? Do I only have to apply log into it, so I have the number of bits necessary for that many quantization levels, or is there more to it?
Thanks for answering

edit: found the answer already.