bindings-codec2-0.1.0.0: Very low-level FFI bindings for Codec2
Bindings.Codec2
data C'CODEC2 Source
Constructors
c'codec2_create :: CInt -> IO (Ptr C'CODEC2) Source
c'codec2_destroy :: Ptr C'CODEC2 -> IO () Source
p'codec2_create :: FunPtr (CInt -> IO (Ptr C'CODEC2)) Source
c'codec2_encode :: Ptr C'CODEC2 -> Ptr CUChar -> Ptr CShort -> IO () Source
p'codec2_destroy :: FunPtr (Ptr C'CODEC2 -> IO ()) Source
c'codec2_decode :: Ptr C'CODEC2 -> Ptr CShort -> Ptr CUChar -> IO () Source
c'codec2_samples_per_frame :: Ptr C'CODEC2 -> IO CInt Source
p'codec2_encode :: FunPtr (Ptr C'CODEC2 -> Ptr CUChar -> Ptr CShort -> IO ()) Source
c'codec2_bits_per_frame :: Ptr C'CODEC2 -> IO CInt Source
p'codec2_decode :: FunPtr (Ptr C'CODEC2 -> Ptr CShort -> Ptr CUChar -> IO ()) Source
p'codec2_samples_per_frame :: FunPtr (Ptr C'CODEC2 -> IO CInt) Source
c'codec2_set_lpc_post_filter :: Ptr C'CODEC2 -> CInt -> CInt -> CFloat -> CFloat -> IO () Source
c'codec2_get_spare_bit_index :: Ptr C'CODEC2 -> IO CInt Source
p'codec2_bits_per_frame :: FunPtr (Ptr C'CODEC2 -> IO CInt) Source
c'codec2_rebuild_spare_bit :: Ptr C'CODEC2 -> Ptr CInt -> IO CInt Source
p'codec2_set_lpc_post_filter :: FunPtr (Ptr C'CODEC2 -> CInt -> CInt -> CFloat -> CFloat -> IO ()) Source
p'codec2_get_spare_bit_index :: FunPtr (Ptr C'CODEC2 -> IO CInt) Source
p'codec2_rebuild_spare_bit :: FunPtr (Ptr C'CODEC2 -> Ptr CInt -> IO CInt) Source