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

Quelle  format-utils.h

  Sprache: C
 

/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */

#ifndef SPA_PARAM_FORMAT_UTILS_H
#define SPA_PARAM_FORMAT_UTILS_H

#ifdef __cplusplus
extern "C" {
#endif


/**
 * \addtogroup spa_param
 * \{
 */


#include <spa/pod/parser.h>
#include <spa/param/format.h>

#ifndef SPA_API_FORMAT_UTILS
 #ifdef SPA_API_IMPL
  #define SPA_API_FORMAT_UTILS SPA_API_IMPL
 #else
  #define SPA_API_FORMAT_UTILS static inline
 #endif
#endif

SPA_API_FORMAT_UTILS int
spa_format_parse(const struct spa_pod *format, uint32_t *media_type, uint32_t *media_subtype)
{
 return spa_pod_parse_object(format,
  SPA_TYPE_OBJECT_Format, NULL,
  SPA_FORMAT_mediaType,    SPA_POD_Id(media_type),
  SPA_FORMAT_mediaSubtype, SPA_POD_Id(media_subtype));
}

/**
 * \}
 */


#ifdef __cplusplus
}  /* extern "C" */
#endif

#endif /* SPA_PARAM_FORMAT_UTILS_H */

Messung V0.5 in Prozent
C=91 H=94 G=92

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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.