*: don't include standard C headers inside of extern "C"

Including C headers inside of `extern "C"` breaks use from C++. Hoist
the includes of standard C headers above the block so we don't try
to mangle the stdlib.

I initially tried to scope this with a targeted change but it's too
hard to do correctly that way. This way, we avoid whack-a-mole.

Firefox is working around this in their e21461b7b8b39cc31ba53c47d4f6f310c673ff2f
commit.

Bug: https://bugzilla.mozilla.org/1953080
This commit is contained in:
Sam James 2025-05-27 09:06:08 +01:00
parent e2731914ad
commit b943c31fd8
No known key found for this signature in database
GPG key ID: 738409F520DF9190
207 changed files with 753 additions and 752 deletions

View file

@ -5,12 +5,12 @@
#ifndef SPA_BUFFER_ALLOC_H #ifndef SPA_BUFFER_ALLOC_H
#define SPA_BUFFER_ALLOC_H #define SPA_BUFFER_ALLOC_H
#include <spa/buffer/buffer.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/buffer/buffer.h>
#ifndef SPA_API_BUFFER_ALLOC #ifndef SPA_API_BUFFER_ALLOC
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_BUFFER_ALLOC SPA_API_IMPL #define SPA_API_BUFFER_ALLOC SPA_API_IMPL

View file

@ -5,13 +5,13 @@
#ifndef SPA_BUFFER_H #ifndef SPA_BUFFER_H
#define SPA_BUFFER_H #define SPA_BUFFER_H
#include <spa/utils/defs.h>
#include <spa/buffer/meta.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/defs.h>
#include <spa/buffer/meta.h>
#ifndef SPA_API_BUFFER #ifndef SPA_API_BUFFER
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_BUFFER SPA_API_IMPL #define SPA_API_BUFFER SPA_API_IMPL

View file

@ -5,13 +5,13 @@
#ifndef SPA_META_H #ifndef SPA_META_H
#define SPA_META_H #define SPA_META_H
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
#ifndef SPA_API_META #ifndef SPA_API_META
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_META SPA_API_IMPL #define SPA_API_META SPA_API_IMPL

View file

@ -5,6 +5,10 @@
#ifndef SPA_BUFFER_TYPES_H #ifndef SPA_BUFFER_TYPES_H
#define SPA_BUFFER_TYPES_H #define SPA_BUFFER_TYPES_H
#include <spa/buffer/buffer.h>
#include <spa/buffer/meta.h>
#include <spa/utils/type.h>
/** /**
* \addtogroup spa_buffer * \addtogroup spa_buffer
* \{ * \{
@ -14,10 +18,6 @@
extern "C" { extern "C" {
#endif #endif
#include <spa/buffer/buffer.h>
#include <spa/buffer/meta.h>
#include <spa/utils/type.h>
#define SPA_TYPE_INFO_Buffer SPA_TYPE_INFO_POINTER_BASE "Buffer" #define SPA_TYPE_INFO_Buffer SPA_TYPE_INFO_POINTER_BASE "Buffer"
#define SPA_TYPE_INFO_BUFFER_BASE SPA_TYPE_INFO_Buffer ":" #define SPA_TYPE_INFO_BUFFER_BASE SPA_TYPE_INFO_Buffer ":"

View file

@ -5,13 +5,13 @@
#ifndef SPA_CONTROL_H #ifndef SPA_CONTROL_H
#define SPA_CONTROL_H #define SPA_CONTROL_H
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
/** \defgroup spa_control Control /** \defgroup spa_control Control
* Control type declarations * Control type declarations
*/ */

View file

@ -5,6 +5,10 @@
#ifndef SPA_CONTROL_TYPES_H #ifndef SPA_CONTROL_TYPES_H
#define SPA_CONTROL_TYPES_H #define SPA_CONTROL_TYPES_H
#include <spa/utils/defs.h>
#include <spa/utils/type.h>
#include <spa/control/control.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/defs.h>
#include <spa/utils/type.h>
#include <spa/control/control.h>
/* base for parameter object enumerations */ /* base for parameter object enumerations */
#define SPA_TYPE_INFO_Control SPA_TYPE_INFO_ENUM_BASE "Control" #define SPA_TYPE_INFO_Control SPA_TYPE_INFO_ENUM_BASE "Control"
#define SPA_TYPE_INFO_CONTROL_BASE SPA_TYPE_INFO_Control ":" #define SPA_TYPE_INFO_CONTROL_BASE SPA_TYPE_INFO_Control ":"

View file

@ -6,13 +6,13 @@
#ifndef SPA_CONTROL_UMP_UTILS_H #ifndef SPA_CONTROL_UMP_UTILS_H
#define SPA_CONTROL_UMP_UTILS_H #define SPA_CONTROL_UMP_UTILS_H
#include <errno.h>
#include <spa/utils/defs.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <errno.h>
#include <spa/utils/defs.h>
#ifndef SPA_API_CONTROL_UMP_UTILS #ifndef SPA_API_CONTROL_UMP_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_CONTROL_UMP_UTILS SPA_API_IMPL #define SPA_API_CONTROL_UMP_UTILS SPA_API_IMPL

View file

@ -5,6 +5,11 @@
#ifndef SPA_DEBUG_BUFFER_H #ifndef SPA_DEBUG_BUFFER_H
#define SPA_DEBUG_BUFFER_H #define SPA_DEBUG_BUFFER_H
#include <spa/debug/context.h>
#include <spa/debug/mem.h>
#include <spa/debug/types.h>
#include <spa/buffer/type-info.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -18,11 +23,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/debug/context.h>
#include <spa/debug/mem.h>
#include <spa/debug/types.h>
#include <spa/buffer/type-info.h>
#ifndef SPA_API_DEBUG_BUFFER #ifndef SPA_API_DEBUG_BUFFER
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_BUFFER SPA_API_IMPL #define SPA_API_DEBUG_BUFFER SPA_API_IMPL

View file

@ -5,15 +5,16 @@
#ifndef SPA_DEBUG_CONTEXT_H #ifndef SPA_DEBUG_CONTEXT_H
#define SPA_DEBUG_CONTEXT_H #define SPA_DEBUG_CONTEXT_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
#include <spa/utils/defs.h> #include <spa/utils/defs.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* \addtogroup spa_debug * \addtogroup spa_debug
* \{ * \{

View file

@ -5,6 +5,9 @@
#ifndef SPA_DEBUG_DICT_H #ifndef SPA_DEBUG_DICT_H
#define SPA_DEBUG_DICT_H #define SPA_DEBUG_DICT_H
#include <spa/debug/context.h>
#include <spa/utils/dict.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,9 +17,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/debug/context.h>
#include <spa/utils/dict.h>
#ifndef SPA_API_DEBUG_DICT #ifndef SPA_API_DEBUG_DICT
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_DICT SPA_API_IMPL #define SPA_API_DEBUG_DICT SPA_API_IMPL

View file

@ -5,10 +5,6 @@
#ifndef SPA_DEBUG_FILE_H #ifndef SPA_DEBUG_FILE_H
#define SPA_DEBUG_FILE_H #define SPA_DEBUG_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
@ -21,6 +17,10 @@ extern "C" {
#include <spa/debug/mem.h> #include <spa/debug/mem.h>
#include <spa/debug/pod.h> #include <spa/debug/pod.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* \addtogroup spa_debug * \addtogroup spa_debug
* \{ * \{

View file

@ -5,6 +5,13 @@
#ifndef SPA_DEBUG_FORMAT_H #ifndef SPA_DEBUG_FORMAT_H
#define SPA_DEBUG_FORMAT_H #define SPA_DEBUG_FORMAT_H
#include <spa/pod/parser.h>
#include <spa/utils/string.h>
#include <spa/debug/context.h>
#include <spa/debug/types.h>
#include <spa/param/type-info.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,13 +21,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/utils/string.h>
#include <spa/debug/context.h>
#include <spa/debug/types.h>
#include <spa/param/type-info.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_DEBUG_FORMAT #ifndef SPA_API_DEBUG_FORMAT
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_FORMAT SPA_API_IMPL #define SPA_API_DEBUG_FORMAT SPA_API_IMPL

View file

@ -5,10 +5,6 @@
#ifndef SPA_DEBUG_LOG_H #ifndef SPA_DEBUG_LOG_H
#define SPA_DEBUG_LOG_H #define SPA_DEBUG_LOG_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
@ -20,6 +16,10 @@ extern "C" {
#include <spa/debug/mem.h> #include <spa/debug/mem.h>
#include <spa/debug/pod.h> #include <spa/debug/pod.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef SPA_API_DEBUG_LOG #ifndef SPA_API_DEBUG_LOG
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_LOG SPA_API_IMPL #define SPA_API_DEBUG_LOG SPA_API_IMPL

View file

@ -5,19 +5,19 @@
#ifndef SPA_DEBUG_MEM_H #ifndef SPA_DEBUG_MEM_H
#define SPA_DEBUG_MEM_H #define SPA_DEBUG_MEM_H
#include <inttypes.h>
#include <spa/debug/context.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <inttypes.h>
/** /**
* \addtogroup spa_debug * \addtogroup spa_debug
* \{ * \{
*/ */
#include <spa/debug/context.h>
#ifndef SPA_API_DEBUG_MEM #ifndef SPA_API_DEBUG_MEM
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_MEM SPA_API_IMPL #define SPA_API_DEBUG_MEM SPA_API_IMPL

View file

@ -5,6 +5,10 @@
#ifndef SPA_DEBUG_NODE_H #ifndef SPA_DEBUG_NODE_H
#define SPA_DEBUG_NODE_H #define SPA_DEBUG_NODE_H
#include <spa/node/node.h>
#include <spa/debug/context.h>
#include <spa/debug/dict.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/node/node.h>
#include <spa/debug/context.h>
#include <spa/debug/dict.h>
#ifndef SPA_API_DEBUG_NODE #ifndef SPA_API_DEBUG_NODE
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_NODE SPA_API_IMPL #define SPA_API_DEBUG_NODE SPA_API_IMPL

View file

@ -5,6 +5,12 @@
#ifndef SPA_DEBUG_POD_H #ifndef SPA_DEBUG_POD_H
#define SPA_DEBUG_POD_H #define SPA_DEBUG_POD_H
#include <spa/debug/context.h>
#include <spa/debug/mem.h>
#include <spa/debug/types.h>
#include <spa/pod/pod.h>
#include <spa/pod/iter.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,12 +20,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/debug/context.h>
#include <spa/debug/mem.h>
#include <spa/debug/types.h>
#include <spa/pod/pod.h>
#include <spa/pod/iter.h>
#ifndef SPA_API_DEBUG_POD #ifndef SPA_API_DEBUG_POD
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_POD SPA_API_IMPL #define SPA_API_DEBUG_POD SPA_API_IMPL

View file

@ -5,6 +5,10 @@
#ifndef SPA_DEBUG_TYPES_H #ifndef SPA_DEBUG_TYPES_H
#define SPA_DEBUG_TYPES_H #define SPA_DEBUG_TYPES_H
#include <spa/utils/type-info.h>
#include <string.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/type-info.h>
#include <string.h>
#ifndef SPA_API_DEBUG_TYPES #ifndef SPA_API_DEBUG_TYPES
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEBUG_TYPES SPA_API_IMPL #define SPA_API_DEBUG_TYPES SPA_API_IMPL

View file

@ -5,16 +5,16 @@
#ifndef SPA_FILTER_GRAPH_H #ifndef SPA_FILTER_GRAPH_H
#define SPA_FILTER_GRAPH_H #define SPA_FILTER_GRAPH_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h> #include <sys/types.h>
#include <spa/utils/defs.h> #include <spa/utils/defs.h>
#include <spa/utils/hook.h> #include <spa/utils/hook.h>
#include <spa/pod/builder.h> #include <spa/pod/builder.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef SPA_API_FILTER_GRAPH #ifndef SPA_API_FILTER_GRAPH
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_FILTER_GRAPH SPA_API_IMPL #define SPA_API_FILTER_GRAPH SPA_API_IMPL

View file

@ -5,6 +5,13 @@
#ifndef SPA_GRAPH_H #ifndef SPA_GRAPH_H
#define SPA_GRAPH_H #define SPA_GRAPH_H
#include <spa/utils/atomic.h>
#include <spa/utils/defs.h>
#include <spa/utils/list.h>
#include <spa/utils/hook.h>
#include <spa/node/node.h>
#include <spa/node/io.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -18,13 +25,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/atomic.h>
#include <spa/utils/defs.h>
#include <spa/utils/list.h>
#include <spa/utils/hook.h>
#include <spa/node/node.h>
#include <spa/node/io.h>
#ifndef SPA_API_GRAPH #ifndef SPA_API_GRAPH
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_GRAPH SPA_API_IMPL #define SPA_API_GRAPH SPA_API_IMPL

View file

@ -5,15 +5,15 @@
#ifndef SPA_DEVICE_H #ifndef SPA_DEVICE_H
#define SPA_DEVICE_H #define SPA_DEVICE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/utils/defs.h> #include <spa/utils/defs.h>
#include <spa/utils/hook.h> #include <spa/utils/hook.h>
#include <spa/utils/dict.h> #include <spa/utils/dict.h>
#include <spa/pod/event.h> #include <spa/pod/event.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef SPA_API_DEVICE #ifndef SPA_API_DEVICE
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEVICE SPA_API_IMPL #define SPA_API_DEVICE SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_EVENT_DEVICE_H #ifndef SPA_EVENT_DEVICE_H
#define SPA_EVENT_DEVICE_H #define SPA_EVENT_DEVICE_H
#include <spa/pod/event.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/pod/event.h>
/** /**
* \addtogroup spa_device * \addtogroup spa_device
* \{ * \{

View file

@ -5,14 +5,14 @@
#ifndef SPA_DEVICE_TYPE_INFO_H #ifndef SPA_DEVICE_TYPE_INFO_H
#define SPA_DEVICE_TYPE_INFO_H #define SPA_DEVICE_TYPE_INFO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/utils/type-info.h> #include <spa/utils/type-info.h>
#include <spa/monitor/event.h> #include <spa/monitor/event.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* \addtogroup spa_device * \addtogroup spa_device
* \{ * \{

View file

@ -5,13 +5,13 @@
#ifndef SPA_DEVICE_UTILS_H #ifndef SPA_DEVICE_UTILS_H
#define SPA_DEVICE_UTILS_H #define SPA_DEVICE_UTILS_H
#include <spa/pod/builder.h>
#include <spa/monitor/device.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/pod/builder.h>
#include <spa/monitor/device.h>
#ifndef SPA_API_DEVICE_UTILS #ifndef SPA_API_DEVICE_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_DEVICE_UTILS SPA_API_IMPL #define SPA_API_DEVICE_UTILS SPA_API_IMPL

View file

@ -5,6 +5,8 @@
#ifndef SPA_COMMAND_NODE_H #ifndef SPA_COMMAND_NODE_H
#define SPA_COMMAND_NODE_H #define SPA_COMMAND_NODE_H
#include <spa/pod/command.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/command.h>
/* object id of SPA_TYPE_COMMAND_Node */ /* object id of SPA_TYPE_COMMAND_Node */
enum spa_node_command { enum spa_node_command {
SPA_NODE_COMMAND_Suspend, /**< suspend a node, this removes all configured SPA_NODE_COMMAND_Suspend, /**< suspend a node, this removes all configured

View file

@ -5,6 +5,8 @@
#ifndef SPA_EVENT_NODE_H #ifndef SPA_EVENT_NODE_H
#define SPA_EVENT_NODE_H #define SPA_EVENT_NODE_H
#include <spa/pod/event.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/event.h>
/* object id of SPA_TYPE_EVENT_Node */ /* object id of SPA_TYPE_EVENT_Node */
enum spa_node_event { enum spa_node_event {
SPA_NODE_EVENT_Error, SPA_NODE_EVENT_Error,

View file

@ -5,6 +5,9 @@
#ifndef SPA_IO_H #ifndef SPA_IO_H
#define SPA_IO_H #define SPA_IO_H
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,9 +17,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/defs.h>
#include <spa/pod/pod.h>
/** IO areas /** IO areas
* *
* IO information for a port on a node. This is allocated * IO information for a port on a node. This is allocated

View file

@ -5,6 +5,14 @@
#ifndef SPA_NODE_H #ifndef SPA_NODE_H
#define SPA_NODE_H #define SPA_NODE_H
#include <errno.h>
#include <spa/utils/defs.h>
#include <spa/utils/type.h>
#include <spa/utils/hook.h>
#include <spa/buffer/buffer.h>
#include <spa/node/event.h>
#include <spa/node/command.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -19,14 +27,6 @@ extern "C" {
* \{ * \{
*/ */
#include <errno.h>
#include <spa/utils/defs.h>
#include <spa/utils/type.h>
#include <spa/utils/hook.h>
#include <spa/buffer/buffer.h>
#include <spa/node/event.h>
#include <spa/node/command.h>
#ifndef SPA_API_NODE #ifndef SPA_API_NODE
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_NODE SPA_API_IMPL #define SPA_API_NODE SPA_API_IMPL

View file

@ -5,6 +5,12 @@
#ifndef SPA_NODE_TYPES_H #ifndef SPA_NODE_TYPES_H
#define SPA_NODE_TYPES_H #define SPA_NODE_TYPES_H
#include <spa/utils/type.h>
#include <spa/node/command.h>
#include <spa/node/event.h>
#include <spa/node/io.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,12 +20,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/type.h>
#include <spa/node/command.h>
#include <spa/node/event.h>
#include <spa/node/io.h>
#define SPA_TYPE_INFO_IO SPA_TYPE_INFO_ENUM_BASE "IO" #define SPA_TYPE_INFO_IO SPA_TYPE_INFO_ENUM_BASE "IO"
#define SPA_TYPE_INFO_IO_BASE SPA_TYPE_INFO_IO ":" #define SPA_TYPE_INFO_IO_BASE SPA_TYPE_INFO_IO ":"

View file

@ -5,6 +5,10 @@
#ifndef SPA_NODE_UTILS_H #ifndef SPA_NODE_UTILS_H
#define SPA_NODE_UTILS_H #define SPA_NODE_UTILS_H
#include <spa/pod/builder.h>
#include <spa/node/node.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/builder.h>
#include <spa/node/node.h>
#ifndef SPA_API_NODE_UTILS #ifndef SPA_API_NODE_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_NODE_UTILS SPA_API_IMPL #define SPA_API_NODE_UTILS SPA_API_IMPL

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_AAC_TYPES_H #ifndef SPA_AUDIO_AAC_TYPES_H
#define SPA_AUDIO_AAC_TYPES_H #define SPA_AUDIO_AAC_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/aac.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/aac.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_AAC_UTILS_H #ifndef SPA_AUDIO_AAC_UTILS_H
#define SPA_AUDIO_AAC_UTILS_H #define SPA_AUDIO_AAC_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_AAC_UTILS #ifndef SPA_API_AUDIO_AAC_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_AAC_UTILS SPA_API_IMPL #define SPA_API_AUDIO_AAC_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_AAC_H #ifndef SPA_AUDIO_AAC_H
#define SPA_AUDIO_AAC_H #define SPA_AUDIO_AAC_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_AC3_UTILS_H #ifndef SPA_AUDIO_AC3_UTILS_H
#define SPA_AUDIO_AC3_UTILS_H #define SPA_AUDIO_AC3_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_AC3_UTILS #ifndef SPA_API_AUDIO_AC3_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_AC3_UTILS SPA_API_IMPL #define SPA_API_AUDIO_AC3_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_AC3_H #ifndef SPA_AUDIO_AC3_H
#define SPA_AUDIO_AC3_H #define SPA_AUDIO_AC3_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_ALAC_UTILS_H #ifndef SPA_AUDIO_ALAC_UTILS_H
#define SPA_AUDIO_ALAC_UTILS_H #define SPA_AUDIO_ALAC_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_ALAC_UTILS #ifndef SPA_API_AUDIO_ALAC_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_ALAC_UTILS SPA_API_IMPL #define SPA_API_AUDIO_ALAC_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_ALAC_H #ifndef SPA_AUDIO_ALAC_H
#define SPA_AUDIO_ALAC_H #define SPA_AUDIO_ALAC_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_AMR_TYPES_H #ifndef SPA_AUDIO_AMR_TYPES_H
#define SPA_AUDIO_AMR_TYPES_H #define SPA_AUDIO_AMR_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/amr.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/amr.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_AMR_UTILS_H #ifndef SPA_AUDIO_AMR_UTILS_H
#define SPA_AUDIO_AMR_UTILS_H #define SPA_AUDIO_AMR_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_AMR_UTILS #ifndef SPA_API_AUDIO_AMR_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_AMR_UTILS SPA_API_IMPL #define SPA_API_AUDIO_AMR_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_AMR_H #ifndef SPA_AUDIO_AMR_H
#define SPA_AUDIO_AMR_H #define SPA_AUDIO_AMR_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_APE_UTILS_H #ifndef SPA_AUDIO_APE_UTILS_H
#define SPA_AUDIO_APE_UTILS_H #define SPA_AUDIO_APE_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_APE_UTILS #ifndef SPA_API_AUDIO_APE_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_APE_UTILS SPA_API_IMPL #define SPA_API_AUDIO_APE_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_APE_H #ifndef SPA_AUDIO_APE_H
#define SPA_AUDIO_APE_H #define SPA_AUDIO_APE_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_DSD_UTILS_H #ifndef SPA_AUDIO_DSD_UTILS_H
#define SPA_AUDIO_DSD_UTILS_H #define SPA_AUDIO_DSD_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/format-utils.h>
#include <spa/param/audio/format.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/format-utils.h>
#include <spa/param/audio/format.h>
#ifndef SPA_API_AUDIO_DSD_UTILS #ifndef SPA_API_AUDIO_DSD_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_DSD_UTILS SPA_API_IMPL #define SPA_API_AUDIO_DSD_UTILS SPA_API_IMPL

View file

@ -7,13 +7,13 @@
#include <stdint.h> #include <stdint.h>
#include <spa/param/param.h>
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/param.h>
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_DSP_UTILS_H #ifndef SPA_AUDIO_DSP_UTILS_H
#define SPA_AUDIO_DSP_UTILS_H #define SPA_AUDIO_DSP_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_DSP_UTILS #ifndef SPA_API_AUDIO_DSP_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_DSP_UTILS SPA_API_IMPL #define SPA_API_AUDIO_DSP_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_DSP_H #ifndef SPA_AUDIO_DSP_H
#define SPA_AUDIO_DSP_H #define SPA_AUDIO_DSP_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_DTS_TYPES_H #ifndef SPA_AUDIO_DTS_TYPES_H
#define SPA_AUDIO_DTS_TYPES_H #define SPA_AUDIO_DTS_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/dts.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/dts.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_DTS_UTILS_H #ifndef SPA_AUDIO_DTS_UTILS_H
#define SPA_AUDIO_DTS_UTILS_H #define SPA_AUDIO_DTS_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_DTS_UTILS #ifndef SPA_API_AUDIO_DTS_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_DTS_UTILS SPA_API_IMPL #define SPA_API_AUDIO_DTS_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_DTS_H #ifndef SPA_AUDIO_DTS_H
#define SPA_AUDIO_DTS_H #define SPA_AUDIO_DTS_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_EAC3_UTILS_H #ifndef SPA_AUDIO_EAC3_UTILS_H
#define SPA_AUDIO_EAC3_UTILS_H #define SPA_AUDIO_EAC3_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_EAC3_UTILS #ifndef SPA_API_AUDIO_EAC3_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_EAC3_UTILS SPA_API_IMPL #define SPA_API_AUDIO_EAC3_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_EAC3_H #ifndef SPA_AUDIO_EAC3_H
#define SPA_AUDIO_EAC3_H #define SPA_AUDIO_EAC3_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_FLAC_UTILS_H #ifndef SPA_AUDIO_FLAC_UTILS_H
#define SPA_AUDIO_FLAC_UTILS_H #define SPA_AUDIO_FLAC_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_FLAC_UTILS #ifndef SPA_API_AUDIO_FLAC_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_FLAC_UTILS SPA_API_IMPL #define SPA_API_AUDIO_FLAC_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_FLAC_H #ifndef SPA_AUDIO_FLAC_H
#define SPA_AUDIO_FLAC_H #define SPA_AUDIO_FLAC_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,10 +5,6 @@
#ifndef SPA_PARAM_AUDIO_FORMAT_UTILS_H #ifndef SPA_PARAM_AUDIO_FORMAT_UTILS_H
#define SPA_PARAM_AUDIO_FORMAT_UTILS_H #define SPA_PARAM_AUDIO_FORMAT_UTILS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/pod/parser.h> #include <spa/pod/parser.h>
#include <spa/pod/builder.h> #include <spa/pod/builder.h>
#include <spa/param/audio/format.h> #include <spa/param/audio/format.h>
@ -33,6 +29,9 @@ extern "C" {
#include <spa/param/audio/dts-utils.h> #include <spa/param/audio/dts-utils.h>
#include <spa/param/audio/mpegh-utils.h> #include <spa/param/audio/mpegh-utils.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* \addtogroup spa_param * \addtogroup spa_param

View file

@ -5,15 +5,6 @@
#ifndef SPA_PARAM_AUDIO_FORMAT_H #ifndef SPA_PARAM_AUDIO_FORMAT_H
#define SPA_PARAM_AUDIO_FORMAT_H #define SPA_PARAM_AUDIO_FORMAT_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* \addtogroup spa_param
* \{
*/
#include <spa/param/format.h> #include <spa/param/format.h>
#include <spa/param/audio/raw.h> #include <spa/param/audio/raw.h>
#include <spa/param/audio/dsp.h> #include <spa/param/audio/dsp.h>
@ -35,6 +26,15 @@ extern "C" {
#include <spa/param/audio/dts.h> #include <spa/param/audio/dts.h>
#include <spa/param/audio/mpegh.h> #include <spa/param/audio/mpegh.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* \addtogroup spa_param
* \{
*/
struct spa_audio_info { struct spa_audio_info {
uint32_t media_type; uint32_t media_type;
uint32_t media_subtype; uint32_t media_subtype;

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_IEC958_TYPES_H #ifndef SPA_AUDIO_IEC958_TYPES_H
#define SPA_AUDIO_IEC958_TYPES_H #define SPA_AUDIO_IEC958_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/iec958.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/iec958.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_IEC958_UTILS_H #ifndef SPA_AUDIO_IEC958_UTILS_H
#define SPA_AUDIO_IEC958_UTILS_H #define SPA_AUDIO_IEC958_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_IEC958_UTILS #ifndef SPA_API_AUDIO_IEC958_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_IEC958_UTILS SPA_API_IMPL #define SPA_API_AUDIO_IEC958_UTILS SPA_API_IMPL

View file

@ -5,17 +5,18 @@
#ifndef SPA_AUDIO_LAYOUT_H #ifndef SPA_AUDIO_LAYOUT_H
#define SPA_AUDIO_LAYOUT_H #define SPA_AUDIO_LAYOUT_H
#include <spa/utils/endian.h>
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/endian.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{
*/ */
#include <spa/param/audio/raw.h>
struct spa_audio_layout_info { struct spa_audio_layout_info {
uint32_t n_channels; uint32_t n_channels;

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_MP3_TYPES_H #ifndef SPA_AUDIO_MP3_TYPES_H
#define SPA_AUDIO_MP3_TYPES_H #define SPA_AUDIO_MP3_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/mp3.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/mp3.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_MP3_UTILS_H #ifndef SPA_AUDIO_MP3_UTILS_H
#define SPA_AUDIO_MP3_UTILS_H #define SPA_AUDIO_MP3_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_MP3_UTILS #ifndef SPA_API_AUDIO_MP3_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_MP3_UTILS SPA_API_IMPL #define SPA_API_AUDIO_MP3_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_MP3_H #ifndef SPA_AUDIO_MP3_H
#define SPA_AUDIO_MP3_H #define SPA_AUDIO_MP3_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_MPEGH_UTILS_H #ifndef SPA_AUDIO_MPEGH_UTILS_H
#define SPA_AUDIO_MPEGH_UTILS_H #define SPA_AUDIO_MPEGH_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_MPEGH_UTILS #ifndef SPA_API_AUDIO_MPEGH_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_MPEGH_UTILS SPA_API_IMPL #define SPA_API_AUDIO_MPEGH_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_MPEGH_H #ifndef SPA_AUDIO_MPEGH_H
#define SPA_AUDIO_MPEGH_H #define SPA_AUDIO_MPEGH_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_OPUS_H #ifndef SPA_AUDIO_OPUS_H
#define SPA_AUDIO_OPUS_H #define SPA_AUDIO_OPUS_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_RA_UTILS_H #ifndef SPA_AUDIO_RA_UTILS_H
#define SPA_AUDIO_RA_UTILS_H #define SPA_AUDIO_RA_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_RA_UTILS #ifndef SPA_API_AUDIO_RA_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_RA_UTILS SPA_API_IMPL #define SPA_API_AUDIO_RA_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_RA_H #ifndef SPA_AUDIO_RA_H
#define SPA_AUDIO_RA_H #define SPA_AUDIO_RA_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_RAW_JSON_H #ifndef SPA_AUDIO_RAW_JSON_H
#define SPA_AUDIO_RAW_JSON_H #define SPA_AUDIO_RAW_JSON_H
#include <spa/utils/dict.h>
#include <spa/utils/json.h>
#include <spa/param/audio/raw.h>
#include <spa/param/audio/raw-types.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/dict.h>
#include <spa/utils/json.h>
#include <spa/param/audio/raw.h>
#include <spa/param/audio/raw-types.h>
#ifndef SPA_API_AUDIO_RAW_JSON #ifndef SPA_API_AUDIO_RAW_JSON
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_RAW_JSON SPA_API_IMPL #define SPA_API_AUDIO_RAW_JSON SPA_API_IMPL

View file

@ -5,6 +5,10 @@
#ifndef SPA_AUDIO_RAW_TYPES_H #ifndef SPA_AUDIO_RAW_TYPES_H
#define SPA_AUDIO_RAW_TYPES_H #define SPA_AUDIO_RAW_TYPES_H
#include <spa/utils/type.h>
#include <spa/utils/string.h>
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/type.h>
#include <spa/utils/string.h>
#include <spa/param/audio/raw.h>
#ifndef SPA_API_AUDIO_RAW_TYPES #ifndef SPA_API_AUDIO_RAW_TYPES
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_RAW_TYPES SPA_API_IMPL #define SPA_API_AUDIO_RAW_TYPES SPA_API_IMPL

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_RAW_UTILS_H #ifndef SPA_AUDIO_RAW_UTILS_H
#define SPA_AUDIO_RAW_UTILS_H #define SPA_AUDIO_RAW_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_RAW_UTILS #ifndef SPA_API_AUDIO_RAW_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_RAW_UTILS SPA_API_IMPL #define SPA_API_AUDIO_RAW_UTILS SPA_API_IMPL

View file

@ -5,14 +5,14 @@
#ifndef SPA_AUDIO_RAW_H #ifndef SPA_AUDIO_RAW_H
#define SPA_AUDIO_RAW_H #define SPA_AUDIO_RAW_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h> #include <stdint.h>
#include <spa/utils/endian.h> #include <spa/utils/endian.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_TRUEHD_UTILS_H #ifndef SPA_AUDIO_TRUEHD_UTILS_H
#define SPA_AUDIO_TRUEHD_UTILS_H #define SPA_AUDIO_TRUEHD_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_TRUEHD_UTILS #ifndef SPA_API_AUDIO_TRUEHD_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_TRUEHD_UTILS SPA_API_IMPL #define SPA_API_AUDIO_TRUEHD_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_TRUEHD_H #ifndef SPA_AUDIO_TRUEHD_H
#define SPA_AUDIO_TRUEHD_H #define SPA_AUDIO_TRUEHD_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_VORBIS_UTILS_H #ifndef SPA_AUDIO_VORBIS_UTILS_H
#define SPA_AUDIO_VORBIS_UTILS_H #define SPA_AUDIO_VORBIS_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_VORBIS_UTILS #ifndef SPA_API_AUDIO_VORBIS_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_VORBIS_UTILS SPA_API_IMPL #define SPA_API_AUDIO_VORBIS_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_VORBIS_H #ifndef SPA_AUDIO_VORBIS_H
#define SPA_AUDIO_VORBIS_H #define SPA_AUDIO_VORBIS_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,13 +5,13 @@
#ifndef SPA_AUDIO_WMA_TYPES_H #ifndef SPA_AUDIO_WMA_TYPES_H
#define SPA_AUDIO_WMA_TYPES_H #define SPA_AUDIO_WMA_TYPES_H
#include <spa/utils/type.h>
#include <spa/param/audio/wma.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/utils/type.h>
#include <spa/param/audio/wma.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,11 @@
#ifndef SPA_AUDIO_WMA_UTILS_H #ifndef SPA_AUDIO_WMA_UTILS_H
#define SPA_AUDIO_WMA_UTILS_H #define SPA_AUDIO_WMA_UTILS_H
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format.h>
#include <spa/param/format-utils.h>
#ifndef SPA_API_AUDIO_WMA_UTILS #ifndef SPA_API_AUDIO_WMA_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_AUDIO_WMA_UTILS SPA_API_IMPL #define SPA_API_AUDIO_WMA_UTILS SPA_API_IMPL

View file

@ -5,12 +5,12 @@
#ifndef SPA_AUDIO_WMA_H #ifndef SPA_AUDIO_WMA_H
#define SPA_AUDIO_WMA_H #define SPA_AUDIO_WMA_H
#include <spa/param/audio/raw.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <spa/param/audio/raw.h>
/** /**
* \addtogroup spa_param * \addtogroup spa_param
* \{ * \{

View file

@ -5,6 +5,8 @@
#ifndef SPA_BLUETOOTH_TYPES_H #ifndef SPA_BLUETOOTH_TYPES_H
#define SPA_BLUETOOTH_TYPES_H #define SPA_BLUETOOTH_TYPES_H
#include <spa/param/bluetooth/audio.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/bluetooth/audio.h>
#define SPA_TYPE_INFO_BluetoothAudioCodec SPA_TYPE_INFO_ENUM_BASE "BluetoothAudioCodec" #define SPA_TYPE_INFO_BluetoothAudioCodec SPA_TYPE_INFO_ENUM_BASE "BluetoothAudioCodec"
#define SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE SPA_TYPE_INFO_BluetoothAudioCodec ":" #define SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE SPA_TYPE_INFO_BluetoothAudioCodec ":"

View file

@ -5,6 +5,11 @@
#ifndef SPA_PARAM_BUFFERS_TYPES_H #ifndef SPA_PARAM_BUFFERS_TYPES_H
#define SPA_PARAM_BUFFERS_TYPES_H #define SPA_PARAM_BUFFERS_TYPES_H
#include <spa/param/param-types.h>
#include <spa/node/type-info.h>
#include <spa/param/buffers.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param-types.h>
#include <spa/node/type-info.h>
#include <spa/param/buffers.h>
#define SPA_TYPE_INFO_PARAM_Meta SPA_TYPE_INFO_PARAM_BASE "Meta" #define SPA_TYPE_INFO_PARAM_Meta SPA_TYPE_INFO_PARAM_BASE "Meta"
#define SPA_TYPE_INFO_PARAM_META_BASE SPA_TYPE_INFO_PARAM_Meta ":" #define SPA_TYPE_INFO_PARAM_META_BASE SPA_TYPE_INFO_PARAM_Meta ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_BUFFERS_H #ifndef SPA_PARAM_BUFFERS_H
#define SPA_PARAM_BUFFERS_H #define SPA_PARAM_BUFFERS_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties for SPA_TYPE_OBJECT_ParamBuffers */ /** properties for SPA_TYPE_OBJECT_ParamBuffers */
enum spa_param_buffers { enum spa_param_buffers {
SPA_PARAM_BUFFERS_START, SPA_PARAM_BUFFERS_START,

View file

@ -5,6 +5,13 @@
#ifndef SPA_PARAM_FORMAT_TYPES_H #ifndef SPA_PARAM_FORMAT_TYPES_H
#define SPA_PARAM_FORMAT_TYPES_H #define SPA_PARAM_FORMAT_TYPES_H
#include <spa/param/format.h>
#include <spa/param/param-types.h>
#include <spa/param/audio/type-info.h>
#include <spa/param/video/type-info.h>
#include <spa/control/type-info.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,13 +21,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/format.h>
#include <spa/param/param-types.h>
#include <spa/param/audio/type-info.h>
#include <spa/param/video/type-info.h>
#include <spa/control/type-info.h>
#define SPA_TYPE_INFO_Format SPA_TYPE_INFO_PARAM_BASE "Format" #define SPA_TYPE_INFO_Format SPA_TYPE_INFO_PARAM_BASE "Format"
#define SPA_TYPE_INFO_FORMAT_BASE SPA_TYPE_INFO_Format ":" #define SPA_TYPE_INFO_FORMAT_BASE SPA_TYPE_INFO_Format ":"

View file

@ -5,6 +5,9 @@
#ifndef SPA_PARAM_FORMAT_UTILS_H #ifndef SPA_PARAM_FORMAT_UTILS_H
#define SPA_PARAM_FORMAT_UTILS_H #define SPA_PARAM_FORMAT_UTILS_H
#include <spa/pod/parser.h>
#include <spa/param/format.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -15,9 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/pod/parser.h>
#include <spa/param/format.h>
#ifndef SPA_API_FORMAT_UTILS #ifndef SPA_API_FORMAT_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_FORMAT_UTILS SPA_API_IMPL #define SPA_API_FORMAT_UTILS SPA_API_IMPL

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_FORMAT_H #ifndef SPA_PARAM_FORMAT_H
#define SPA_PARAM_FORMAT_H #define SPA_PARAM_FORMAT_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** media type for SPA_TYPE_OBJECT_Format */ /** media type for SPA_TYPE_OBJECT_Format */
enum spa_media_type { enum spa_media_type {
SPA_MEDIA_TYPE_unknown, SPA_MEDIA_TYPE_unknown,

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_LATENCY_TYPES_H #ifndef SPA_PARAM_LATENCY_TYPES_H
#define SPA_PARAM_LATENCY_TYPES_H #define SPA_PARAM_LATENCY_TYPES_H
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/latency.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/latency.h>
#define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency" #define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency"
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":" #define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":"

View file

@ -5,6 +5,12 @@
#ifndef SPA_PARAM_LATENCY_UTILS_H #ifndef SPA_PARAM_LATENCY_UTILS_H
#define SPA_PARAM_LATENCY_UTILS_H #define SPA_PARAM_LATENCY_UTILS_H
#include <float.h>
#include <spa/pod/builder.h>
#include <spa/pod/parser.h>
#include <spa/param/latency.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,12 +20,6 @@ extern "C" {
* \{ * \{
*/ */
#include <float.h>
#include <spa/pod/builder.h>
#include <spa/pod/parser.h>
#include <spa/param/latency.h>
#ifndef SPA_API_LATENCY_UTILS #ifndef SPA_API_LATENCY_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_LATENCY_UTILS SPA_API_IMPL #define SPA_API_LATENCY_UTILS SPA_API_IMPL

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_LATENY_H #ifndef SPA_PARAM_LATENY_H
#define SPA_PARAM_LATENY_H #define SPA_PARAM_LATENY_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** /**
* Properties for SPA_TYPE_OBJECT_ParamLatency * Properties for SPA_TYPE_OBJECT_ParamLatency
* *

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_TYPES_H #ifndef SPA_PARAM_TYPES_H
#define SPA_PARAM_TYPES_H #define SPA_PARAM_TYPES_H
#include <spa/param/props.h>
#include <spa/param/format.h>
#include <spa/buffer/type-info.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/props.h>
#include <spa/param/format.h>
#include <spa/buffer/type-info.h>
/* base for parameter object enumerations */ /* base for parameter object enumerations */
#define SPA_TYPE_INFO_ParamId SPA_TYPE_INFO_ENUM_BASE "ParamId" #define SPA_TYPE_INFO_ParamId SPA_TYPE_INFO_ENUM_BASE "ParamId"
#define SPA_TYPE_INFO_PARAM_ID_BASE SPA_TYPE_INFO_ParamId ":" #define SPA_TYPE_INFO_PARAM_ID_BASE SPA_TYPE_INFO_ParamId ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_H #ifndef SPA_PARAM_H
#define SPA_PARAM_H #define SPA_PARAM_H
#include <spa/utils/defs.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -18,8 +20,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/defs.h>
/** different parameter types that can be queried */ /** different parameter types that can be queried */
enum spa_param_type { enum spa_param_type {
SPA_PARAM_Invalid, /**< invalid */ SPA_PARAM_Invalid, /**< invalid */

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_PORT_CONFIG_TYPES_H #ifndef SPA_PARAM_PORT_CONFIG_TYPES_H
#define SPA_PARAM_PORT_CONFIG_TYPES_H #define SPA_PARAM_PORT_CONFIG_TYPES_H
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/port-config.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/port-config.h>
#define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode" #define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":" #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_PORT_CONFIG_H #ifndef SPA_PARAM_PORT_CONFIG_H
#define SPA_PARAM_PORT_CONFIG_H #define SPA_PARAM_PORT_CONFIG_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
enum spa_param_port_config_mode { enum spa_param_port_config_mode {
SPA_PARAM_PORT_CONFIG_MODE_none, /**< no configuration */ SPA_PARAM_PORT_CONFIG_MODE_none, /**< no configuration */
SPA_PARAM_PORT_CONFIG_MODE_passthrough, /**< passthrough configuration */ SPA_PARAM_PORT_CONFIG_MODE_passthrough, /**< passthrough configuration */

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_PROFILE_TYPES_H #ifndef SPA_PARAM_PROFILE_TYPES_H
#define SPA_PARAM_PROFILE_TYPES_H #define SPA_PARAM_PROFILE_TYPES_H
#include <spa/param/param-types.h>
#include <spa/param/profile.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param-types.h>
#include <spa/param/profile.h>
#define SPA_TYPE_INFO_PARAM_Profile SPA_TYPE_INFO_PARAM_BASE "Profile" #define SPA_TYPE_INFO_PARAM_Profile SPA_TYPE_INFO_PARAM_BASE "Profile"
#define SPA_TYPE_INFO_PARAM_PROFILE_BASE SPA_TYPE_INFO_PARAM_Profile ":" #define SPA_TYPE_INFO_PARAM_PROFILE_BASE SPA_TYPE_INFO_PARAM_Profile ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_PROFILE_H #ifndef SPA_PARAM_PROFILE_H
#define SPA_PARAM_PROFILE_H #define SPA_PARAM_PROFILE_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties for SPA_TYPE_OBJECT_ParamProfile */ /** properties for SPA_TYPE_OBJECT_ParamProfile */
enum spa_param_profile { enum spa_param_profile {
SPA_PARAM_PROFILE_START, SPA_PARAM_PROFILE_START,

View file

@ -5,6 +5,9 @@
#ifndef SPA_PARAM_PROFILER_TYPES_H #ifndef SPA_PARAM_PROFILER_TYPES_H
#define SPA_PARAM_PROFILER_TYPES_H #define SPA_PARAM_PROFILER_TYPES_H
#include <spa/param/param-types.h>
#include <spa/param/profiler.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,9 +17,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param-types.h>
#include <spa/param/profiler.h>
#define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler" #define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler"
#define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":" #define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_PROFILER_H #ifndef SPA_PARAM_PROFILER_H
#define SPA_PARAM_PROFILER_H #define SPA_PARAM_PROFILER_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties for SPA_TYPE_OBJECT_Profiler */ /** properties for SPA_TYPE_OBJECT_Profiler */
enum spa_profiler { enum spa_profiler {
SPA_PROFILER_START, SPA_PROFILER_START,

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_PROPS_TYPES_H #ifndef SPA_PARAM_PROPS_TYPES_H
#define SPA_PARAM_PROPS_TYPES_H #define SPA_PARAM_PROPS_TYPES_H
#include <spa/param/param-types.h>
#include <spa/param/bluetooth/type-info.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param-types.h>
#include <spa/param/bluetooth/type-info.h>
/** Props Param */ /** Props Param */
#define SPA_TYPE_INFO_Props SPA_TYPE_INFO_PARAM_BASE "Props" #define SPA_TYPE_INFO_Props SPA_TYPE_INFO_PARAM_BASE "Props"
#define SPA_TYPE_INFO_PROPS_BASE SPA_TYPE_INFO_Props ":" #define SPA_TYPE_INFO_PROPS_BASE SPA_TYPE_INFO_Props ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_PROPS_H #ifndef SPA_PARAM_PROPS_H
#define SPA_PARAM_PROPS_H #define SPA_PARAM_PROPS_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties of SPA_TYPE_OBJECT_PropInfo */ /** properties of SPA_TYPE_OBJECT_PropInfo */
enum spa_prop_info { enum spa_prop_info {
SPA_PROP_INFO_START, SPA_PROP_INFO_START,

View file

@ -5,6 +5,11 @@
#ifndef SPA_PARAM_ROUTE_TYPES_H #ifndef SPA_PARAM_ROUTE_TYPES_H
#define SPA_PARAM_ROUTE_TYPES_H #define SPA_PARAM_ROUTE_TYPES_H
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/route.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,11 +19,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/route.h>
#define SPA_TYPE_INFO_PARAM_Route SPA_TYPE_INFO_PARAM_BASE "Route" #define SPA_TYPE_INFO_PARAM_Route SPA_TYPE_INFO_PARAM_BASE "Route"
#define SPA_TYPE_INFO_PARAM_ROUTE_BASE SPA_TYPE_INFO_PARAM_Route ":" #define SPA_TYPE_INFO_PARAM_ROUTE_BASE SPA_TYPE_INFO_PARAM_Route ":"

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_ROUTE_H #ifndef SPA_PARAM_ROUTE_H
#define SPA_PARAM_ROUTE_H #define SPA_PARAM_ROUTE_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties for SPA_TYPE_OBJECT_ParamRoute */ /** properties for SPA_TYPE_OBJECT_ParamRoute */
enum spa_param_route { enum spa_param_route {
SPA_PARAM_ROUTE_START, SPA_PARAM_ROUTE_START,

View file

@ -5,6 +5,10 @@
#ifndef SPA_PARAM_TAG_TYPES_H #ifndef SPA_PARAM_TAG_TYPES_H
#define SPA_PARAM_TAG_TYPES_H #define SPA_PARAM_TAG_TYPES_H
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/tag.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,10 +18,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/utils/enum-types.h>
#include <spa/param/param-types.h>
#include <spa/param/tag.h>
#define SPA_TYPE_INFO_PARAM_Tag SPA_TYPE_INFO_PARAM_BASE "Tag" #define SPA_TYPE_INFO_PARAM_Tag SPA_TYPE_INFO_PARAM_BASE "Tag"
#define SPA_TYPE_INFO_PARAM_TAG_BASE SPA_TYPE_INFO_PARAM_Tag ":" #define SPA_TYPE_INFO_PARAM_TAG_BASE SPA_TYPE_INFO_PARAM_Tag ":"

View file

@ -5,6 +5,13 @@
#ifndef SPA_PARAM_TAG_UTILS_H #ifndef SPA_PARAM_TAG_UTILS_H
#define SPA_PARAM_TAG_UTILS_H #define SPA_PARAM_TAG_UTILS_H
#include <float.h>
#include <spa/utils/dict.h>
#include <spa/pod/builder.h>
#include <spa/pod/parser.h>
#include <spa/param/tag.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,13 +21,6 @@ extern "C" {
* \{ * \{
*/ */
#include <float.h>
#include <spa/utils/dict.h>
#include <spa/pod/builder.h>
#include <spa/pod/parser.h>
#include <spa/param/tag.h>
#ifndef SPA_API_TAG_UTILS #ifndef SPA_API_TAG_UTILS
#ifdef SPA_API_IMPL #ifdef SPA_API_IMPL
#define SPA_API_TAG_UTILS SPA_API_IMPL #define SPA_API_TAG_UTILS SPA_API_IMPL

View file

@ -5,6 +5,8 @@
#ifndef SPA_PARAM_TAG_H #ifndef SPA_PARAM_TAG_H
#define SPA_PARAM_TAG_H #define SPA_PARAM_TAG_H
#include <spa/param/param.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -14,8 +16,6 @@ extern "C" {
* \{ * \{
*/ */
#include <spa/param/param.h>
/** properties for SPA_TYPE_OBJECT_ParamTag */ /** properties for SPA_TYPE_OBJECT_ParamTag */
enum spa_param_tag { enum spa_param_tag {
SPA_PARAM_TAG_START, SPA_PARAM_TAG_START,

Some files were not shown because too many files have changed in this diff Show more