monky-2.2.1.0: A system state collecting library and application

Maintainerongy
Stabilityexperimental
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Examples.Sound.Pulse

Description

Some of this may move into Monky.Sound.Pulse in a near-ish future.

Synopsis

Documentation

data PulseH Source #

Pulse handle. This module uses continuations, the handle is not really used

Instances

EvtModule PulseH Source # 

Methods

startEvtLoop :: PulseH -> ([MonkyOut] -> IO ()) -> IO () Source #

startPulse :: Maybe String -> ([MonkyOut] -> IO ()) -> IO () Source #

Try to start pulse loop. silently fail!

startPulseMaybe Source #

Arguments

:: IO ()

The continuation if everything fails

-> Maybe String

Sink to use (Nothing for default)

-> ([MonkyOut] -> IO ())

Output function

-> IO () 

Connect to pulse server and try to start the main loop for this module.

getPulseHandle Source #

Arguments

:: Maybe String

The servername (Nothing will use environment variable)

-> IO PulseH 

Get the handle for pulse integration.