Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Tempo = Tempo {}
- data State = State {}
- changeTempo :: MVar Tempo -> (Time -> Tempo -> Tempo) -> IO Tempo
- changeTempo' :: Tempo -> Time -> Rational -> Tempo
- resetCycles :: MVar Tempo -> IO Tempo
- setCps :: MVar Tempo -> Time -> IO Tempo
- defaultTempo :: Time -> UDP -> SockAddr -> Tempo
- timeToCycles :: Tempo -> Time -> Rational
- cyclesToTime :: Tempo -> Rational -> Time
- clocked :: Config -> (MVar Tempo -> State -> IO ()) -> IO (MVar Tempo, [ThreadId])
- clientListen :: Config -> Time -> IO (MVar Tempo, ThreadId)
- sendTempo :: Tempo -> IO ()
- listenTempo :: UDP -> MVar Tempo -> IO ()
- serverListen :: Config -> IO (Maybe ThreadId)