alsa-seq-0.6.0.8: Binding to the ALSA Library API (MIDI sequencer).

Safe HaskellSafe
LanguageHaskell2010

Sound.ALSA.Sequencer.RealTime

Synopsis

Documentation

data T Source #

Constructors

Cons 

Fields

Instances
Eq T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.RealTime

Methods

(==) :: T -> T -> Bool #

(/=) :: T -> T -> Bool #

Show T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.RealTime

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Storable T Source # 
Instance details

Defined in Sound.ALSA.Sequencer.Marshal.RealTime

Methods

sizeOf :: T -> Int #

alignment :: T -> Int #

peekElemOff :: Ptr T -> Int -> IO T #

pokeElemOff :: Ptr T -> Int -> T -> IO () #

peekByteOff :: Ptr b -> Int -> IO T #

pokeByteOff :: Ptr b -> Int -> T -> IO () #

peek :: Ptr T -> IO T #

poke :: Ptr T -> T -> IO () #

fromDouble :: Double -> T Source #

Convert fractional number of seconds to T Time must be non-negative.

fromInteger :: Integer -> T Source #

Convert number of nanoseconds to T

toDouble :: T -> Double Source #

Convert fractional number of seconds to T

toInteger :: T -> Integer Source #

Convert number of nanoseconds to T