| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Nes.APU.State.Filter.Thread
Contents
Synopsis
- data FilterThread = MkFT {
- consumeSample :: Sample -> IO ()
- outputSample :: !(IO Sample)
- threadId :: !(Maybe ThreadId)
- newNoopFilterThread :: FilterThread
- newFilterThread :: IO FilterThread
- killFilterThread :: FilterThread -> IO ()
Definition
data FilterThread Source #
Constructors
| MkFT | |
Fields
| |
Constructor
newNoopFilterThread :: FilterThread Source #
A FilterThread that does nothing and always returns 0
newFilterThread :: IO FilterThread Source #
A FilterThread that spawns a process to run the filter chain in the backgroun
Destructor
killFilterThread :: FilterThread -> IO () Source #