You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a get_last_absgp function on the OggStreamReader. It returns the absgp of the last read page. That number can't be used for absolute measurements though, as the first audio page in an ogg/vorbis stream can start with any given absgp. To counter this, we need to remember the absgp of the first audio page in the stream, and use it as reference point. For increased accuracy, it would be best to take the actual begginning absgp, which is the absgp of the first audio page minus the sum of all sample counts of the ending packets in that page.
The text was updated successfully, but these errors were encountered:
There is a
get_last_absgp
function on theOggStreamReader
. It returns the absgp of the last read page. That number can't be used for absolute measurements though, as the first audio page in an ogg/vorbis stream can start with any given absgp. To counter this, we need to remember the absgp of the first audio page in the stream, and use it as reference point. For increased accuracy, it would be best to take the actual begginning absgp, which is the absgp of the first audio page minus the sum of all sample counts of the ending packets in that page.The text was updated successfully, but these errors were encountered: