Portability | unknown |
---|---|
Stability | unstable |
Maintainer | Conrad Parker <conrad@metadecks.org> |
Types used throughout zoom-cache
- data HeaderType
- data TimeStamp = TS {}
- data TrackType
- data DataRateType
- = ConstantDR
- | VariableDR
- type TrackNo = Int
- data Global = Global {}
- globalHeader :: ByteString
- data CacheFile = CacheFile {}
- mkCacheFile :: Global -> CacheFile
- fiFull :: CacheFile -> Bool
- data Version = Version Int Int
- versionMajor :: Int
- versionMinor :: Int
- type TrackMap = IntMap TrackSpec
- data TrackSpec = TrackSpec {}
- trackHeader :: ByteString
- packetHeader :: ByteString
- summaryHeader :: ByteString
Types
data DataRateType Source
Constant or Variable datarate. For constant datarate, timestamps are implied as incrementing by 1/datarate For variable datarate, explicit timestamps are attached to each datum, encoded as a separate block of timestamps in the Raw Data packet.
Global header
globalHeader :: ByteStringSource
Magic identifier at the beginning of a zoom-cache file.
CacheFile
Global and track headers for a zoom-cache file
Version
The major version encoded by this library
The minor version encoded by this library
Track specification
A specification of the type and name of each track
Track header
trackHeader :: ByteStringSource
Identifier for track headers
Packet header
packetHeader :: ByteStringSource
Identifier for packet headers
Summary header
summaryHeader :: ByteStringSource
Identifier for summary headers