0 | module Bindings.RtlSdr.Raw.Buffer
2 | import Bindings.RtlSdr.Device
10 | %foreign (librtlsdr "read_sync")
11 | read_sync: Ptr RtlSdrHandle -> Buffer -> Int -> Ptr Int -> PrimIO Int
14 | ReadAsyncFnPrim = Ptr Bits8 -> Int -> AnyPtr -> PrimIO ()
18 | %foreign (librtlsdr "read_async")
19 | read_async: Ptr RtlSdrHandle -> ReadAsyncFnPrim -> AnyPtr -> Int -> Int -> PrimIO Int
23 | %foreign (librtlsdr "cancel_async")
24 | cancel_async: Ptr RtlSdrHandle -> PrimIO Int
28 | %foreign (librtlsdr "reset_buffer")
29 | reset_buffer: Ptr RtlSdrHandle -> PrimIO Int