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

Safe HaskellNone
LanguageHaskell2010

Sound.Pulse.Volume

Description

Maintianer : ongy Stability : experimental

Synopsis

Documentation

type Volume = Word32 Source #

type for pa_volume_t

newtype CVolume Source #

type for pa_cvolume. This contains a Volume for each channel.

Constructors

CVolume [Volume] 

volumeToLinear :: Word32 -> Double Source #

Convert a single Volume to a linear scale

cVolumeToLinear :: CVolume -> [Double] Source #

Convert a CVolume to a list of linearly scaled values.