mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
daemon: add support for properties in the config file
Make a set-prop command to set a property from the config file into a pw_properties. Pass this to the pw_core_new() and the main-loop to tweak some stuff. Move some warns to errors
This commit is contained in:
parent
85caf0b485
commit
03eeb945f3
11 changed files with 122 additions and 65 deletions
|
|
@ -45,16 +45,15 @@ struct impl {
|
|||
struct spa_handle handle;
|
||||
struct spa_log log;
|
||||
|
||||
struct spa_system *system;
|
||||
|
||||
bool colors;
|
||||
FILE *file;
|
||||
|
||||
struct spa_system *system;
|
||||
struct spa_source source;
|
||||
struct spa_ringbuffer trace_rb;
|
||||
uint8_t trace_data[TRACE_BUFFER];
|
||||
|
||||
bool have_source;
|
||||
struct spa_source source;
|
||||
unsigned int have_source:1;
|
||||
unsigned int colors:1;
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue