pipewire-0.1
Safe HaskellSafe-Inferred
LanguageGHC2021

Pipewire.CoreAPI.Core

Synopsis

Documentation

newtype Registry #

Constructors

Registry (Ptr PwRegistryStruct) 

newtype Core #

Constructors

Core (Ptr PwCoreStruct) 

newtype CoreInfo #

Constructors

CoreInfo (Ptr PwCoreInfoStruct) 

type InfoHandler = CoreInfo -> IO () #

type DoneHandler = PwID -> SeqID -> IO () #

type DoneHandlerRaw = Ptr () -> Word32 -> CInt -> IO () #

type ErrorHandler = PwID -> SeqID -> Int -> Text -> IO () #

type ErrorHandlerRaw = Ptr () -> Word32 -> CInt -> CInt -> CString -> IO () #

withCoreEvents :: InfoHandler -> DoneHandler -> ErrorHandler -> (CoreEvents -> IO b) -> IO b #

Create a local pw_core_events structure

inline_c_ffi_6989586621679092200 :: Ptr PwCoreEventsStruct -> FunPtr (Ptr () -> Ptr PwCoreInfoStruct -> IO ()) -> FunPtr (Ptr () -> Word32 -> CInt -> IO ()) -> FunPtr (Ptr () -> Word32 -> CInt -> CInt -> Ptr CChar -> IO ()) -> IO () #