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

Safe HaskellNone
LanguageHaskell2010

Sound.Pulse.Sinkinfo

Description

Maintianer : ongy Stability : experimental

Synopsis

Documentation

getContextSinks Source #

Arguments

:: Context

The context

-> (Sinkinfo -> IO ())

List callback. Will be called once per list entry

-> IO ()

End callback. Will be called once after all list entries

-> IO Operation 

Get all sinks from a context.

getContextSinkByName :: Context -> String -> (Sinkinfo -> IO ()) -> IO Operation Source #

Get a sink by name

getContextSinkByIndex :: Context -> Word32 -> (Sinkinfo -> IO ()) -> IO Operation Source #

Get a sink by index