wireplumber/modules/module-config-static-nodes.c
Julian Bouzas 4ec61d79b8 config-static-nodes: add config static nodes module
This module allows wireplumber to create static nodes that match a specific
device using a spa node factory. Matching is optional, and if there is no match,
the node will always be created.
2020-01-09 08:50:03 -05:00

18 lines
450 B
C

/* WirePlumber
*
* Copyright © 2019 Collabora Ltd.
* @author Julian Bouzas <julian.bouzas@collabora.com>
*
* SPDX-License-Identifier: MIT
*/
#include <wp/wp.h>
#include "module-config-static-nodes/context.h"
void
wireplumber__module_init (WpModule * module, WpCore * core, GVariant * args)
{
WpConfigStaticNodesContext *ctx = wp_config_static_nodes_context_new (core);
wp_module_set_destroy_callback (module, g_object_unref, ctx);
}