sdr-0.1.0.0: A software defined radio library
SDR.PipeUtils
Description
Pipes utility functions
Synopsis
fork :: Monad m => Producer a m r -> Producer a (Producer a m) r Source
Fork a pipe
combine :: Monad m => Consumer a m r -> Consumer a m r -> Consumer a m r Source
Combime two consumers into a single consumer
printStream :: Show a => Int -> Consumer a IO () Source
A consumer that prints everything to stdout
devnull :: Monad m => Consumer a m () Source
A consumer that discards everything
rate :: Int -> Pipe a a IO b Source
Passthrough pipe that prints the sample rate