search for: sizeuncompress

Displaying 1 result from an estimated 1 matches for "sizeuncompress".

Did you mean: sizeuncompressed
2015 Dec 02
2
A few questions about libvorbis from a newbie
...else, so 1. I have found that "pcmTotal * vorbisInfo->channels * 2" gives the uncompressed size of every ogg vorbis file I have used. What is a more robust way of getting the full uncompressed file size? 2. How do I read a certain amount of ms of data? For example, I have been using sizeUncompressed / seconds / 4 (using the above method to get sizeUncompressed) to try and get 250ms worth of data, but I'm not sure it is doing what I think it does. 3. How do I determine the sample size of a file? For example, how do I know if I should reading 16 bit or 8 bit samples? Thanks for your time...