mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
Add resource override method
Add an easy way to override a resource implementation and use this in the flatpak module. Add more methods
This commit is contained in:
parent
77e326bf6d
commit
6b6b827a3b
18 changed files with 323 additions and 179 deletions
|
|
@ -189,13 +189,13 @@ static void update_monitor(struct pw_core *core, const char *name)
|
|||
{
|
||||
const char *monitors;
|
||||
struct spa_dict_item item;
|
||||
const struct spa_dict *props;
|
||||
const struct pw_properties *props;
|
||||
struct spa_dict dict = SPA_DICT_INIT(1, &item);
|
||||
|
||||
props = pw_core_get_properties(core);
|
||||
|
||||
if (props)
|
||||
monitors = spa_dict_lookup(props, "monitors");
|
||||
monitors = pw_properties_get(props, "monitors");
|
||||
else
|
||||
monitors = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue