Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Util.Audio.SampleRateC

Contents

Description

Binding to libsamplerate.

Synopsis

Documentation

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

data Input Source #

This corresponds to the input part of SRC_DATA.

Instances

Instances details
Show Input Source # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

showsPrec :: Int -> Input -> ShowS #

show :: Input -> String #

showList :: [Input] -> ShowS #

Eq Input Source # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

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

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

data Output Source #

This corresponds to the output part of SRC_DATA.

Instances

Instances details
Show Output Source # 
Instance details

Defined in Util.Audio.SampleRateC

Eq Output Source # 
Instance details

Defined in Util.Audio.SampleRateC

Methods

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

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

SavedState

unsafeGetState :: 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.