PipeWire: spa/param/audio/aac-types.h Source File

PipeWire 1.2.4

Loading...
Searching...
No Matches
aac-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_AUDIO_AAC_TYPES_H
6#define SPA_AUDIO_AAC_TYPES_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/utils/type.h>
13#include <spa/param/audio/aac.h>
14
20#define SPA_TYPE_INFO_AudioAACStreamFormat SPA_TYPE_INFO_ENUM_BASE "AudioAACStreamFormat"
21#define SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE SPA_TYPE_INFO_AudioAACStreamFormat ":"
22
23static const struct spa_type_info spa_type_audio_aac_stream_format[] = {
24 { SPA_AUDIO_AAC_STREAM_FORMAT_UNKNOWN, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "UNKNOWN", NULL },
25 { SPA_AUDIO_AAC_STREAM_FORMAT_RAW, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "RAW", NULL },
26 { SPA_AUDIO_AAC_STREAM_FORMAT_MP2ADTS, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "MP2ADTS", NULL },
27 { SPA_AUDIO_AAC_STREAM_FORMAT_MP4ADTS, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "MP4ADTS", NULL },
28 { SPA_AUDIO_AAC_STREAM_FORMAT_MP4LOAS, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "MP4LOAS", NULL },
29 { SPA_AUDIO_AAC_STREAM_FORMAT_MP4LATM, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "MP4LATM", NULL },
30 { SPA_AUDIO_AAC_STREAM_FORMAT_ADIF, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "ADIF", NULL },
31 { SPA_AUDIO_AAC_STREAM_FORMAT_MP4FF, SPA_TYPE_Int, SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE "MP4FF", NULL },
32 { 0, 0, NULL, NULL },
33};
34
39#ifdef __cplusplus
40} /* extern "C" */
41#endif
42
43#endif /* SPA_AUDIO_AAC_TYPES_H */
aac.h
spa/param/audio/aac.h
spa_type_audio_aac_stream_format
static const struct spa_type_info spa_type_audio_aac_stream_format[]
Definition aac-types.h:30
SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE
#define SPA_TYPE_INFO_AUDIO_AAC_STREAM_FORMAT_BASE
Definition aac-types.h:28
SPA_AUDIO_AAC_STREAM_FORMAT_UNKNOWN
@ SPA_AUDIO_AAC_STREAM_FORMAT_UNKNOWN
Definition aac.h:25
SPA_AUDIO_AAC_STREAM_FORMAT_MP4FF
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4FF
Definition aac.h:39
SPA_AUDIO_AAC_STREAM_FORMAT_MP4ADTS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4ADTS
Definition aac.h:31
SPA_AUDIO_AAC_STREAM_FORMAT_MP2ADTS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP2ADTS
Definition aac.h:29
SPA_AUDIO_AAC_STREAM_FORMAT_ADIF
@ SPA_AUDIO_AAC_STREAM_FORMAT_ADIF
Definition aac.h:37
SPA_AUDIO_AAC_STREAM_FORMAT_MP4LATM
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4LATM
Definition aac.h:35
SPA_AUDIO_AAC_STREAM_FORMAT_RAW
@ SPA_AUDIO_AAC_STREAM_FORMAT_RAW
Definition aac.h:27
SPA_AUDIO_AAC_STREAM_FORMAT_MP4LOAS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4LOAS
Definition aac.h:33
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:34
type.h
spa/utils/type.h
spa_type_info
Definition type.h:143