| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Conduit.Audio.SampleRate.Binding
Description
- new :: ConverterType -> Int -> IO State
- delete :: State -> IO ()
- process :: State -> DataIn -> IO DataOut
- reset :: State -> IO ()
- setRatio :: State -> Double -> IO ()
- data State
- data DataIn = DataIn {
- data_in :: Ptr CFloat
- data_out :: Ptr CFloat
- input_frames :: Integer
- output_frames :: Integer
- src_ratio :: Double
- end_of_input :: Bool
- data DataOut = DataOut {}
- data ConverterType
- data SRCError = SRCError String Int String
Documentation
Constructors
| DataIn | |
Fields
| |
Constructors
| DataOut | |
Fields | |
data ConverterType Source
Constructors
| SincBestQuality | |
| SincMediumQuality | |
| SincFastest | |
| ZeroOrderHold | |
| Linear |
libsamplerate functions may throw this as an exception.
Contains the function that caused the error, the numeric error code,
and a human-readable message.