Displaying 1 result from an estimated 1 matches for "c7144ef5".
2004 Aug 06
1
Computing pcm size
Hello,
given a Speex-encoded ogg file, is there a way I can compute the total pcm size (that is, the number of samples after decompression)? I know I can get the frame size from the decoder with SPEEX_GET_FRAME_SIZE, and that the number of frames per packet is written inside the header. But this brings me to the question: how many packets are there in the file? I guess this is more related to