| hogg-0.2.0: Library and tools to manipulate the Ogg container format | Contents | Index |
|
Codec.Container.Ogg.Track |
|
|
|
Synopsis |
|
|
|
Documentation |
|
data OggTrack |
Constructors | OggTrack | | trackSerialno :: Serial | | trackType :: (Maybe ContentType) | | trackGranulerate :: (Maybe Granulerate) | | trackGranuleshift :: (Maybe Int) | | trackMetadata :: MessageHeaders | |
|
| Instances | |
|
|
newTrack :: Serial -> OggTrack |
A new track, with a given serialno
|
|
nullTrack :: OggTrack |
The null track
|
|
bosToTrack :: Serial -> ByteString -> OggTrack |
|
gpToTimestamp :: Granulepos -> OggTrack -> Maybe Timestamp |
Convert a granulepos to a timestamp
|
|
gpToGranules :: Granulepos -> OggTrack -> Maybe Integer |
Convert a granluepos to a count of granules
|
|
gpSplit :: Granulepos -> OggTrack -> Maybe (Integer, Integer) |
Split a granulepos by its track's granuleshift
|
|
gpExplain :: Granulepos -> OggTrack -> String |
|
Produced by Haddock version 0.8 |