Portability | unknown |
---|---|
Stability | unstable |
Maintainer | Conrad Parker <conrad@metadecks.org> |
Types used throughout zoom-cache
- data TimeStamp = TS {}
- data TimeStampDiff = TSDiff {}
- timeStampDiff :: TimeStamp -> TimeStamp -> TimeStampDiff
- data DataRateType
- = ConstantDR
- | VariableDR
- type TrackNo = Int
- data Global = Global {}
- data Version = Version !Int !Int
TimeStamps
Eq TimeStamp | |
Ord TimeStamp | |
Show TimeStamp | |
ZoomWrite (TimeStamp, Bool) | |
ZoomWrite (TimeStamp, Double) | |
ZoomWrite (TimeStamp, Float) | |
ZoomWrite (TimeStamp, Int) | |
ZoomWrite (TimeStamp, Int8) | |
ZoomWrite (TimeStamp, Int16) | |
ZoomWrite (TimeStamp, Int32) | |
ZoomWrite (TimeStamp, Int64) | |
ZoomWrite (TimeStamp, Integer) | |
ZoomWrite (TimeStamp, Word) | |
ZoomWrite (TimeStamp, Word8) | |
ZoomWrite (TimeStamp, Word16) | |
ZoomWrite (TimeStamp, Word32) | |
ZoomWrite (TimeStamp, Word64) | |
ZoomWrite (TimeStamp, ()) |
data TimeStampDiff Source
timeStampDiff :: TimeStamp -> TimeStamp -> TimeStampDiffSource
timeStampDiff (TS t1) (TS t2) = TSDiff (t1 - t2)
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.