Skip to content

Automatically initialize Pipewire

alberto colombo requested to merge albx79/pipewire-rs:main into main

Wrap initialization code inside a OnceCell, so that it is run at most once. Then call pipewire::init() from MainLoop::new(), so that the library is guaranteed to be initialized, even if you forget to explicitly call init().

Fixes #14 (closed)

Merge request reports