mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-31 21:38:19 -04:00
*: 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:
parent
e2731914ad
commit
b943c31fd8
207 changed files with 753 additions and 752 deletions
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_AAC_TYPES_H
|
||||
#define SPA_AUDIO_AAC_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/aac.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/aac.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_AAC_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_AAC_H
|
||||
#define SPA_AUDIO_AAC_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_AC3_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_AC3_H
|
||||
#define SPA_AUDIO_AC3_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_ALAC_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_ALAC_H
|
||||
#define SPA_AUDIO_ALAC_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_AMR_TYPES_H
|
||||
#define SPA_AUDIO_AMR_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/amr.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/amr.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_AMR_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_AMR_H
|
||||
#define SPA_AUDIO_AMR_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_APE_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_APE_H
|
||||
#define SPA_AUDIO_APE_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_DSD_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <spa/param/param.h>
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/param.h>
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_DSP_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_DSP_H
|
||||
#define SPA_AUDIO_DSP_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_DTS_TYPES_H
|
||||
#define SPA_AUDIO_DTS_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/dts.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/dts.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_DTS_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_DTS_H
|
||||
#define SPA_AUDIO_DTS_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_EAC3_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_EAC3_H
|
||||
#define SPA_AUDIO_EAC3_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_FLAC_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_FLAC_H
|
||||
#define SPA_AUDIO_FLAC_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@
|
|||
#ifndef 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/builder.h>
|
||||
#include <spa/param/audio/format.h>
|
||||
|
|
@ -33,6 +29,9 @@ extern "C" {
|
|||
#include <spa/param/audio/dts-utils.h>
|
||||
#include <spa/param/audio/mpegh-utils.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
|
|
|
|||
|
|
@ -5,15 +5,6 @@
|
|||
#ifndef 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/audio/raw.h>
|
||||
#include <spa/param/audio/dsp.h>
|
||||
|
|
@ -35,6 +26,15 @@ extern "C" {
|
|||
#include <spa/param/audio/dts.h>
|
||||
#include <spa/param/audio/mpegh.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
*/
|
||||
|
||||
struct spa_audio_info {
|
||||
uint32_t media_type;
|
||||
uint32_t media_subtype;
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_IEC958_TYPES_H
|
||||
#define SPA_AUDIO_IEC958_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/iec958.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/iec958.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_IEC958_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,17 +5,18 @@
|
|||
#ifndef SPA_AUDIO_LAYOUT_H
|
||||
#define SPA_AUDIO_LAYOUT_H
|
||||
|
||||
#include <spa/utils/endian.h>
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/endian.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
*/
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
struct spa_audio_layout_info {
|
||||
uint32_t n_channels;
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_MP3_TYPES_H
|
||||
#define SPA_AUDIO_MP3_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/mp3.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/mp3.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_MP3_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_MP3_H
|
||||
#define SPA_AUDIO_MP3_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_MPEGH_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_MPEGH_H
|
||||
#define SPA_AUDIO_MPEGH_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_OPUS_H
|
||||
#define SPA_AUDIO_OPUS_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_RA_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_RA_H
|
||||
#define SPA_AUDIO_RA_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_RAW_JSON SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_RAW_TYPES SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_RAW_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@
|
|||
#ifndef SPA_AUDIO_RAW_H
|
||||
#define SPA_AUDIO_RAW_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <spa/utils/endian.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_TRUEHD_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_TRUEHD_H
|
||||
#define SPA_AUDIO_TRUEHD_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_VORBIS_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_VORBIS_H
|
||||
#define SPA_AUDIO_VORBIS_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#ifndef SPA_AUDIO_WMA_TYPES_H
|
||||
#define SPA_AUDIO_WMA_TYPES_H
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/wma.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/param/audio/wma.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef 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
|
||||
extern "C" {
|
||||
#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
|
||||
#ifdef SPA_API_IMPL
|
||||
#define SPA_API_AUDIO_WMA_UTILS SPA_API_IMPL
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
#ifndef SPA_AUDIO_WMA_H
|
||||
#define SPA_AUDIO_WMA_H
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
/**
|
||||
* \addtogroup spa_param
|
||||
* \{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue