pulseaudio-0.0.2.1: A low-level (incomplete) wrapper around the pulseaudio client asynchronous api

Safe HaskellNone
LanguageHaskell2010

Sound.Pulse

Documentation

data Pulse a Source #

Constructors

Pulse (Context -> (a -> IO ()) -> IO ()) 

Instances

Monad Pulse Source # 

Methods

(>>=) :: Pulse a -> (a -> Pulse b) -> Pulse b #

(>>) :: Pulse a -> Pulse b -> Pulse b #

return :: a -> Pulse a #

fail :: String -> Pulse a #

Functor Pulse Source # 

Methods

fmap :: (a -> b) -> Pulse a -> Pulse b #

(<$) :: a -> Pulse b -> Pulse a #

Applicative Pulse Source # 

Methods

pure :: a -> Pulse a #

(<*>) :: Pulse (a -> b) -> Pulse a -> Pulse b #

(*>) :: Pulse a -> Pulse b -> Pulse b #

(<*) :: Pulse a -> Pulse b -> Pulse a #

MonadIO Pulse Source # 

Methods

liftIO :: IO a -> Pulse a #

runPulse :: MonadIO m => Context -> Pulse a -> (a -> IO ()) -> m () Source #

runPulse_ :: MonadIO m => Context -> Pulse a -> m () Source #

runGetPulse :: MonadIO m => Context -> Pulse a -> m a Source #

pulseListM :: (Context -> (a -> IO ()) -> IO () -> IO ()) -> Pulse [a] Source #