hogg- Library and tools to manipulate the Ogg container format

Safe HaskellSafe-Infered




newTrack :: Serial -> OggTrackSource

A new track, with a given serialno

nullTrack :: OggTrackSource

The null track

gpToTimestamp :: Granulepos -> OggTrack -> Maybe TimestampSource

Convert a granulepos to a timestamp

gpToGranules :: Granulepos -> OggTrack -> Maybe IntegerSource

Convert a granluepos to a count of granules

gpSplit :: Granulepos -> OggTrack -> Maybe (Integer, Integer)Source

Split a granulepos by its track's granuleshift