Skip to main content

api

Function api 

Source
pub fn api() -> Result<&'static Api, String>
Expand description

The library handle is kept for the life of the process: PipeWire’s own globals (pw_init) make unloading it unsafe, and every later user reuses it.