<div dir="ltr"><div><div><div><div>First off, I don&#39;t even know if this is the right place to ask these kind of questions, but I haven&#39;t been able to find answers anywhere else, so<br><br></div>1. I have found that &quot;pcmTotal * vorbisInfo-&gt;channels * 2&quot; 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?<br><br></div>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&#39;m not sure it is doing what I think it does.<br><br></div>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?<br><br></div>Thanks for your time.<br></div>