Automatically initialize Pipewire
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)