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

Safe HaskellNone
LanguageHaskell2010

Sound.Pulse.Subscribe

Description

Maintianer : ongy Stability : experimental

Synopsis

Documentation

subscribeEvents Source #

Arguments

:: Context

The Context to subscribe on

-> [SubscriptionMask]

The events that should be reported

-> Subscription

Callback function that will be called on every event received.

-> IO Operation 

Currently the function given here is leaked! even if it's reset later on This is currently unavoidable, since we don't know when the last event occured. This should only be called once per application run, so it will be a known issue for now.