Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/pipewire/pipewire/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  impl-core.h

  Sprache: C
 

/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */

#ifndef PIPEWIRE_IMPL_CORE_H
#define PIPEWIRE_IMPL_CORE_H

#ifdef __cplusplus
extern "C" {
#endif

/** \defgroup pw_impl_core Core Impl
 *
 * \brief PipeWire core interface.
 *
 * The core is used to make objects on demand.
 */


/**
 * \addtogroup pw_impl_core
 * \{
 */


struct pw_impl_core;

#include <pipewire/context.h>
#include <pipewire/global.h>
#include <pipewire/properties.h>
#include <pipewire/resource.h>

/** Factory events, listen to them with \ref pw_impl_core_add_listener */
struct pw_impl_core_events {
#define PW_VERSION_IMPL_CORE_EVENTS 0
 uint32_t version;

 /** the core is destroyed */
        void (*destroy) (void *data);
 /** the core is freed */
        void (*free) (void *data);
 /** the core is initialized */
        void (*initialized) (void *data);
};

struct pw_impl_core *pw_context_create_core(struct pw_context *context,
      struct pw_properties *properties,
      size_t user_data_size);

/* get the default core in a context */
struct pw_impl_core *pw_context_get_default_core(struct pw_context *context);

/** Get the core properties */
const struct pw_properties *pw_impl_core_get_properties(struct pw_impl_core *core);

/** Get the core information */
const struct pw_core_info *pw_impl_core_get_info(struct pw_impl_core *core);

/** Update the core properties */
int pw_impl_core_update_properties(struct pw_impl_core *core, const struct spa_dict *dict);

int pw_impl_core_register(struct pw_impl_core *core,
   struct pw_properties *properties);

void pw_impl_core_destroy(struct pw_impl_core *core);

void *pw_impl_core_get_user_data(struct pw_impl_core *core);

/** Get the global of this core */
struct pw_global *pw_impl_core_get_global(struct pw_impl_core *core);

/** Add an event listener */
void pw_impl_core_add_listener(struct pw_impl_core *core,
        struct spa_hook *listener,
        const struct pw_impl_core_events *events,
        void *data);

/**
 * \}
 */


#ifdef __cplusplus
}
#endif

#endif /* PIPEWIRE_IMPL_CORE_H */

Messung V0.5 in Prozent
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.