-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Very low-level FFI bindings for Codec2 -- -- Bindings for Codec2 generated by jwiegley's c2hsc/bindings-dsl @package bindings-codec2 @version 0.1.0.0 module Bindings.Codec2 data C'CODEC2 C'CODEC2 :: C'CODEC2 c'codec2_create :: CInt -> IO (Ptr C'CODEC2) c'codec2_destroy :: Ptr C'CODEC2 -> IO () p'codec2_create :: FunPtr (CInt -> IO (Ptr C'CODEC2)) c'codec2_encode :: Ptr C'CODEC2 -> Ptr CUChar -> Ptr CShort -> IO () p'codec2_destroy :: FunPtr (Ptr C'CODEC2 -> IO ()) c'codec2_decode :: Ptr C'CODEC2 -> Ptr CShort -> Ptr CUChar -> IO () c'codec2_samples_per_frame :: Ptr C'CODEC2 -> IO CInt p'codec2_encode :: FunPtr (Ptr C'CODEC2 -> Ptr CUChar -> Ptr CShort -> IO ()) c'codec2_bits_per_frame :: Ptr C'CODEC2 -> IO CInt p'codec2_decode :: FunPtr (Ptr C'CODEC2 -> Ptr CShort -> Ptr CUChar -> IO ()) p'codec2_samples_per_frame :: FunPtr (Ptr C'CODEC2 -> IO CInt) c'codec2_set_lpc_post_filter :: Ptr C'CODEC2 -> CInt -> CInt -> CFloat -> CFloat -> IO () c'codec2_get_spare_bit_index :: Ptr C'CODEC2 -> IO CInt p'codec2_bits_per_frame :: FunPtr (Ptr C'CODEC2 -> IO CInt) c'codec2_rebuild_spare_bit :: Ptr C'CODEC2 -> Ptr CInt -> IO CInt p'codec2_set_lpc_post_filter :: FunPtr (Ptr C'CODEC2 -> CInt -> CInt -> CFloat -> CFloat -> IO ()) p'codec2_get_spare_bit_index :: FunPtr (Ptr C'CODEC2 -> IO CInt) p'codec2_rebuild_spare_bit :: FunPtr (Ptr C'CODEC2 -> Ptr CInt -> IO CInt)