HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: troyou on 2012-06-18 13:36:08

Title: How to calculate sampleTime and sampleDuration before decode
Post by: troyou on 2012-06-18 13:36:08
I have create ogg decoder in media foundation
I have read some packte as a sample (compress data), now I need to know the sample' time and sample's duration
Now I know the AvgBytesPerSec and SamplesPerSec and so on, but this parameters are use for uncompress data
so how can get IMFSample's time and duration by use compress data ?