mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-02-04 14:20:27 +01:00
This API allows grouping globals into collections. A collection is essentially a metadata object with information about all the globals it collects. Grouping globals into collections has the advantage of avoiding defining complex set of properties to match the interested globals, and they are also a more generic way to represent a set of globals that share something in common.
83 lines
1.8 KiB
C
83 lines
1.8 KiB
C
/* WirePlumber
|
|
*
|
|
* Copyright © 2019 Collabora Ltd.
|
|
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef __WIREPLUMBER_WP_H__
|
|
#define __WIREPLUMBER_WP_H__
|
|
|
|
#include "base-dirs.h"
|
|
#include "client.h"
|
|
#include "component-loader.h"
|
|
#include "conf.h"
|
|
#include "core.h"
|
|
#include "device.h"
|
|
#include "error.h"
|
|
#include "event-dispatcher.h"
|
|
#include "event-hook.h"
|
|
#include "global-proxy.h"
|
|
#include "iterator.h"
|
|
#include "json-utils.h"
|
|
#include "link.h"
|
|
#include "log.h"
|
|
#include "metadata.h"
|
|
#include "module.h"
|
|
#include "node.h"
|
|
#include "object-interest.h"
|
|
#include "object-manager.h"
|
|
#include "object.h"
|
|
#include "plugin.h"
|
|
#include "port.h"
|
|
#include "proc-utils.h"
|
|
#include "properties.h"
|
|
#include "proxy.h"
|
|
#include "proxy-interfaces.h"
|
|
#include "session-item.h"
|
|
#include "si-factory.h"
|
|
#include "si-interfaces.h"
|
|
#include "spa-json.h"
|
|
#include "spa-pod.h"
|
|
#include "spa-type.h"
|
|
#include "state.h"
|
|
#include "transition.h"
|
|
#include "wpenums.h"
|
|
#include "wpversion.h"
|
|
#include "factory.h"
|
|
#include "settings.h"
|
|
#include "collection.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/*!
|
|
* \ingroup wp
|
|
* Flags for wp_init()
|
|
*/
|
|
typedef enum {
|
|
/*! Initialize PipeWire by calling pw_init() */
|
|
WP_INIT_PIPEWIRE = (1<<0),
|
|
/*! Initialize support for dynamic spa types.
|
|
* See wp_spa_dynamic_type_init() */
|
|
WP_INIT_SPA_TYPES = (1<<1),
|
|
/*! Override PipeWire's logging system with WirePlumber's one */
|
|
WP_INIT_SET_PW_LOG = (1<<2),
|
|
/*! Set wp_log_writer_default() as GLib's default log writer function */
|
|
WP_INIT_SET_GLIB_LOG = (1<<3),
|
|
/*! Initialize all of the above */
|
|
WP_INIT_ALL = 0xf,
|
|
} WpInitFlags;
|
|
|
|
WP_API
|
|
void wp_init (WpInitFlags flags);
|
|
|
|
WP_API
|
|
const char * wp_get_library_version (void);
|
|
|
|
WP_API
|
|
const char * wp_get_library_api_version (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|