Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Pipewire.CoreAPI.Core
Synopsis
- newtype Registry = Registry (Ptr PwRegistryStruct)
- newtype Core = Core (Ptr PwCoreStruct)
- newtype CoreInfo = CoreInfo (Ptr PwCoreInfoStruct)
- newtype CoreEvents = CoreEvents (Ptr PwCoreEventsStruct)
- type InfoHandler = CoreInfo -> IO ()
- type InfoHandlerRaw = Ptr () -> Ptr PwCoreInfoStruct -> 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
- inline_c_ffi_6989586621679092159 :: InfoHandlerRaw -> IO (FunPtr InfoHandlerRaw)
- inline_c_ffi_6989586621679092172 :: DoneHandlerRaw -> IO (FunPtr DoneHandlerRaw)
- inline_c_ffi_6989586621679092185 :: ErrorHandlerRaw -> IO (FunPtr ErrorHandlerRaw)
- 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 ()
- inline_c_ffi_6989586621679092146 :: IO CSize
- pw_core_add_listener :: Core -> SpaHook -> CoreEvents -> IO ()
- inline_c_ffi_6989586621679092215 :: Ptr PwCoreStruct -> Ptr SpaHookStruct -> Ptr PwCoreEventsStruct -> IO ()
- pw_core_sync :: Core -> PwID -> Maybe SeqID -> IO SeqID
- inline_c_ffi_6989586621679092232 :: Ptr PwCoreStruct -> CInt -> CInt -> IO CInt
- pw_id_core :: PwID
- inline_c_ffi_6989586621679092238 :: IO CInt
- pw_core_disconnect :: Core -> IO ()
- inline_c_ffi_6989586621679092247 :: Ptr PwCoreStruct -> IO ()
- pw_core_get_registry :: Core -> IO Registry
- inline_c_ffi_6989586621679092256 :: Ptr PwCoreStruct -> IO (Ptr PwRegistryStruct)
- pw_core_create_object :: Core -> Text -> Text -> PwVersion -> PwProperties -> IO PwProxy
- inline_c_ffi_6989586621679092279 :: Ptr PwCoreStruct -> Ptr CChar -> Ptr CChar -> CInt -> Ptr PwPropertiesStruct -> IO (Ptr PwProxyStruct)
Documentation
Constructors
Registry (Ptr PwRegistryStruct) |
Constructors
Core (Ptr PwCoreStruct) |
Constructors
CoreInfo (Ptr PwCoreInfoStruct) |
newtype CoreEvents #
Constructors
CoreEvents (Ptr PwCoreEventsStruct) |
type InfoHandler = CoreInfo -> IO () #
type InfoHandlerRaw = Ptr () -> Ptr PwCoreInfoStruct -> IO () #
type DoneHandler = PwID -> SeqID -> 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 () #
pw_core_add_listener :: Core -> SpaHook -> CoreEvents -> IO () #
inline_c_ffi_6989586621679092215 :: Ptr PwCoreStruct -> Ptr SpaHookStruct -> Ptr PwCoreEventsStruct -> IO () #
inline_c_ffi_6989586621679092232 :: Ptr PwCoreStruct -> CInt -> CInt -> IO CInt #
pw_id_core :: PwID #
pw_core_disconnect :: Core -> IO () #
inline_c_ffi_6989586621679092247 :: Ptr PwCoreStruct -> IO () #
pw_core_get_registry :: Core -> IO Registry #
pw_core_create_object :: Core -> Text -> Text -> PwVersion -> PwProperties -> IO PwProxy #
inline_c_ffi_6989586621679092279 :: Ptr PwCoreStruct -> Ptr CChar -> Ptr CChar -> CInt -> Ptr PwPropertiesStruct -> IO (Ptr PwProxyStruct) #