Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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.