Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Util.Audio.SampleRateC

Contents

Description

Binding to libsamplerate.

Synopsis

Documentation

data Quality Source #

Instances

Instances details
Bounded Quality # 
Instance details

Defined in Util.Audio.SampleRateC

Enum Quality # 
Instance details

Defined in Util.Audio.SampleRateC

Eq Quality # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

(==) :: Quality -> Quality -> Bool #

(/=) :: Quality -> Quality -> Bool #

Show Quality # 
Instance details

Defined in Util.Audio.SampleRateC

new :: Quality -> Channels -> IO State Source #

data Input Source #

This corresponds to the input part of SRC_DATA.

Instances

Instances details
Eq Input # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

(==) :: Input -> Input -> Bool #

(/=) :: Input -> Input -> Bool #

Show Input # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

showsPrec :: Int -> Input -> ShowS #

show :: Input -> String #

showList :: [Input] -> ShowS #

data Output Source #

This corresponds to the output part of SRC_DATA.

Instances

Instances details
Eq Output # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

(==) :: Output -> Output -> Bool #

(/=) :: Output -> Output -> Bool #

Show Output # 
Instance details

Defined in Util.Audio.SampleRateC

newtype Exception Source #

Constructors

Exception Text 

Instances

Instances details
Eq Exception # 
Instance details

Defined in Util.Audio.SampleRateC

Show Exception # 
Instance details

Defined in Util.Audio.SampleRateC

Exception Exception # 
Instance details

Defined in Util.Audio.SampleRateC

SavedState

getState :: State -> IO SavedState Source #

The second ByteString in SavedState is done without copying, so use it before doing anything with State!

This is only in my fork of libsamplerate, referenced in default.nix.