Safe Haskell | Safe-Inferred |
---|
Storable instances for unboxed TimeVector values, declared separately to avoid an hsc dependence for TimeVector.
The Storable instances are used both by vector and when the signals are copied to C, so they have to produce structs as expected by C.
Documentation
Instances
Storable (Sample Double) Source # | |
Defined in Util.TimeVectorStorable sizeOf :: Sample Double -> Int # alignment :: Sample Double -> Int # peekElemOff :: Ptr (Sample Double) -> Int -> IO (Sample Double) # pokeElemOff :: Ptr (Sample Double) -> Int -> Sample Double -> IO () # peekByteOff :: Ptr b -> Int -> IO (Sample Double) # pokeByteOff :: Ptr b -> Int -> Sample Double -> IO () # | |
Show y => Show (Sample y) Source # | |
C.CStorable (Sample Double) Source # | |
Defined in Util.TimeVectorStorable sizeOf :: Sample Double -> Int # alignment :: Sample Double -> Int # peekElemOff :: Ptr (Sample Double) -> Int -> IO (Sample Double) # pokeElemOff :: Ptr (Sample Double) -> Int -> Sample Double -> IO () # peekByteOff :: Ptr b -> Int -> IO (Sample Double) # pokeByteOff :: Ptr b -> Int -> Sample Double -> IO () # | |
Eq y => Eq (Sample y) Source # | |
Pretty y => Pretty (Sample y) Source # | |
Serialize.Serialize y => Serialize.Serialize (Sample y) Source # | |
FromJSON (Sample Double) Source # | |
ToJSON (Sample Double) Source # | |
type X = RealTime.RealTime Source #