Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stream samples from a Realtek RTL2832U based device
Documentation
:: Word32 | Frequency |
-> Word32 | Sample rate |
-> Word32 | Number of buffers |
-> Word32 | Buffer length |
-> EitherT String IO (Producer (Vector CUChar) IO ()) | Either a string describing the error that occurred or the Producer |
Returns a producer that streams data from a Realtek RTL2832U based device. You probably want to use makeComplexBufferVect
to turn it into a list of complex Floats.