alsa-pcm-0.6.1.1: Binding to the ALSA Library API (PCM audio).

Safe HaskellSafe
LanguageHaskell2010

Sound.ALSA.PCM.Parameters.Software

Contents

Synopsis

Types

data T i y a Source #

Instances
Monad (T i y) Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Methods

(>>=) :: T i y a -> (a -> T i y b) -> T i y b #

(>>) :: T i y a -> T i y b -> T i y b #

return :: a -> T i y a #

fail :: String -> T i y a #

Functor (T i y) Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Methods

fmap :: (a -> b) -> T i y a -> T i y b #

(<$) :: a -> T i y b -> T i y a #

Applicative (T i y) Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Methods

pure :: a -> T i y a #

(<*>) :: T i y (a -> b) -> T i y a -> T i y b #

liftA2 :: (a -> b -> c) -> T i y a -> T i y b -> T i y c #

(*>) :: T i y a -> T i y b -> T i y b #

(<*) :: T i y a -> T i y b -> T i y a #

type Size = Int Source #

data TimestampMode Source #

Instances
Enum TimestampMode Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Eq TimestampMode Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Ord TimestampMode Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Storable TimestampMode Source # 
Instance details

Defined in Sound.ALSA.PCM.Core.SwParams

Primitive accessors to software parameters

setAvailMin :: Size -> T i y () Source #

setSleepMin :: Word -> T i y () Source #

setXferAlign :: Size -> T i y () Source #

Complex software parameter configuration

setBufferSize Source #

Arguments

:: Size

buffer size

-> Size

period size

-> T i y ()