sdr-0.1.0.2: A software defined radio library

Safe HaskellNone
LanguageHaskell2010

SDR.RTLSDRStream

Description

Stream samples from a Realtek RTL2832U based device

Synopsis

Documentation

sdrStream Source

Arguments

:: 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.