mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
Make structure private
Make structs private. Expose methods for things we need. Signals only work on exposed structures so make a new callback helper to signal events.
This commit is contained in:
parent
e24c934a1b
commit
b898eb46cd
72 changed files with 2980 additions and 2120 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <pipewire/command.h>
|
||||
#include <pipewire/private.h>
|
||||
|
||||
#include "daemon/daemon-config.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ int main(int argc, char *argv[])
|
|||
props = pw_properties_new("pipewire.core.name", "pipewire-0",
|
||||
"pipewire.daemon", "1", NULL);
|
||||
|
||||
core = pw_core_new(loop->loop, props);
|
||||
core = pw_core_new(pw_main_loop_get_loop(loop), props);
|
||||
|
||||
pw_daemon_config_run_commands(config, core);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue