mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
Make native protocol
Remove DBus and work towards something like wayland. Remove more glib stuff from the client code
This commit is contained in:
parent
efae64a759
commit
27bba6f587
55 changed files with 3089 additions and 4969 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "pinos/daemon/daemon-config.h"
|
||||
|
||||
#define DEFAULT_CONFIG_FILE PINOS_CONFIG_DIR G_DIR_SEPARATOR_S "pinos.conf"
|
||||
#define DEFAULT_CONFIG_FILE PINOS_CONFIG_DIR "/pinos.conf"
|
||||
|
||||
static bool
|
||||
parse_line (PinosDaemonConfig *config,
|
||||
|
|
@ -165,7 +165,7 @@ bool
|
|||
pinos_daemon_config_load (PinosDaemonConfig *config,
|
||||
char **err)
|
||||
{
|
||||
const gchar *filename;
|
||||
const char *filename;
|
||||
|
||||
filename = getenv ("PINOS_CONFIG_FILE");
|
||||
if (filename != NULL && *filename != '\0') {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ main (int argc, char *argv[])
|
|||
/* parse configuration */
|
||||
config = pinos_daemon_config_new ();
|
||||
if (!pinos_daemon_config_load (config, &err)) {
|
||||
g_error ("failed to parse config: %s", err);
|
||||
pinos_log_error ("failed to parse config: %s", err);
|
||||
free (err);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
load-module libpinos-module-protocol-dbus
|
||||
#load-module libpinos-module-protocol-dbus
|
||||
load-module libpinos-module-protocol-native
|
||||
load-module libpinos-module-suspend-on-idle
|
||||
load-module libpinos-module-spa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue