M
Mantorok Redgormor
Would a portable method of handling 32 bits of data from a file, be to
use something like unsigned long(I need to read in 32-bits of data)?
or is there some smaller type that guarantees at least 32 bits of
value bits?
Also, off topic but does anyone know how to count all frames from an
mp3 file? If each frame size is always the same then that would be
easier and I could just read in all records of a fixed size. I believe
this is how the length of the mp3 is computed.
use something like unsigned long(I need to read in 32-bits of data)?
or is there some smaller type that guarantees at least 32 bits of
value bits?
Also, off topic but does anyone know how to count all frames from an
mp3 file? If each frame size is always the same then that would be
easier and I could just read in all records of a fixed size. I believe
this is how the length of the mp3 is computed.