PipeWire 1.6.8

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#include <spa/utils/type.h>
9#include <spa/param/audio/aac.h>
10
11#ifdef __cplusplus
12 extern "C" {
13#endif
14
19
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
23 static 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
38
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
ISO/IEC 14496-12 MPEG-4 file format.
Definition aac.h:39
SPA_AUDIO_AAC_STREAM_FORMAT_MP4ADTS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4ADTS
ISO/IEC 14496-3 MPEG-4 Audio Data Transport Stream (ADTS).
Definition aac.h:31
SPA_AUDIO_AAC_STREAM_FORMAT_MP2ADTS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP2ADTS
ISO/IEC 13818-7 MPEG-2 Audio Data Transport Stream (ADTS).
Definition aac.h:29
SPA_AUDIO_AAC_STREAM_FORMAT_ADIF
@ SPA_AUDIO_AAC_STREAM_FORMAT_ADIF
ISO/IEC 14496-3 Audio Data Interchange Format (ADIF).
Definition aac.h:37
SPA_AUDIO_AAC_STREAM_FORMAT_MP4LATM
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4LATM
ISO/IEC 14496-3 Low Overhead Audio Transport Multiplex (LATM).
Definition aac.h:35
SPA_AUDIO_AAC_STREAM_FORMAT_RAW
@ SPA_AUDIO_AAC_STREAM_FORMAT_RAW
Raw AAC frames.
Definition aac.h:27
SPA_AUDIO_AAC_STREAM_FORMAT_MP4LOAS
@ SPA_AUDIO_AAC_STREAM_FORMAT_MP4LOAS
ISO/IEC 14496-3 Low Overhead Audio Stream (LOAS).
Definition aac.h:33
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
type.h
spa/utils/type.h
spa_type_info
Definition type.h:156