PipeWire: spa/param/audio/format.h Source File

PipeWire 1.6.5

Loading...
Searching...
No Matches
format.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_PARAM_AUDIO_FORMAT_H
6#define SPA_PARAM_AUDIO_FORMAT_H
7
8#include <spa/param/format.h>
9#include <spa/param/audio/raw.h>
10#include <spa/param/audio/dsp.h>
11#include <spa/param/audio/iec958.h>
12#include <spa/param/audio/dsd.h>
13#include <spa/param/audio/mp3.h>
14#include <spa/param/audio/aac.h>
15#include <spa/param/audio/vorbis.h>
16#include <spa/param/audio/wma.h>
17#include <spa/param/audio/ra.h>
18#include <spa/param/audio/amr.h>
19#include <spa/param/audio/alac.h>
20#include <spa/param/audio/flac.h>
21#include <spa/param/audio/ape.h>
22#include <spa/param/audio/opus.h>
23#include <spa/param/audio/ac3.h>
24#include <spa/param/audio/eac3.h>
25#include <spa/param/audio/truehd.h>
26#include <spa/param/audio/dts.h>
27#include <spa/param/audio/mpegh.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
37
38struct spa_audio_info {
39 uint32_t media_type;
40 uint32_t media_subtype;
41 union {
42 struct spa_audio_info_raw raw;
43 struct spa_audio_info_dsp dsp;
44 struct spa_audio_info_iec958 iec958;
45 struct spa_audio_info_dsd dsd;
46 struct spa_audio_info_mp3 mp3;
47 struct spa_audio_info_aac aac;
48 struct spa_audio_info_vorbis vorbis;
49 struct spa_audio_info_wma wma;
50 struct spa_audio_info_ra ra;
51 struct spa_audio_info_amr amr;
52 struct spa_audio_info_alac alac;
53 struct spa_audio_info_flac flac;
54 struct spa_audio_info_ape ape;
55 struct spa_audio_info_ape opus;
56 struct spa_audio_info_ac3 ac3;
57 struct spa_audio_info_eac3 eac3;
58 struct spa_audio_info_truehd truehd;
59 struct spa_audio_info_dts dts;
60 struct spa_audio_info_mpegh mpegh;
61 } info;
62
63 /* padding follows here when info has flexible size */
64};
65
69
70#ifdef __cplusplus
71} /* extern "C" */
72#endif
73
74#endif /* SPA_PARAM_AUDIO_FORMAT_H */
aac.h
spa/param/audio/aac.h
ac3.h
spa/param/audio/ac3.h
alac.h
spa/param/audio/alac.h
amr.h
spa/param/audio/amr.h
ape.h
spa/param/audio/ape.h
dsp.h
spa/param/audio/dsp.h
raw.h
spa/param/audio/raw.h
dsd.h
spa/param/audio/dsd.h
dts.h
spa/param/audio/dts.h
eac3.h
spa/param/audio/eac3.h
flac.h
spa/param/audio/flac.h
iec958.h
spa/param/audio/iec958.h
mp3.h
spa/param/audio/mp3.h
mpegh.h
spa/param/audio/mpegh.h
opus.h
spa/param/audio/opus.h
format.h
spa/param/format.h
ra.h
spa/param/audio/ra.h
spa_audio_info_aac
Definition aac.h:44
spa_audio_info_ac3
Dolby AC-3 audio info.
Definition ac3.h:25
spa_audio_info_alac
Definition alac.h:24
spa_audio_info_amr
Definition amr.h:30
spa_audio_info_ape
Definition ape.h:24
spa_audio_info_dsd
Definition dsd.h:48
spa_audio_info_dsp
Definition dsp.h:24
spa_audio_info_dts
DTS Coherent Acoustics audio info.
Definition dts.h:40
spa_audio_info_eac3
Dolby E-AC-3 audio info.
Definition eac3.h:25
spa_audio_info_flac
Definition flac.h:24
spa_audio_info_iec958
Definition iec958.h:38
spa_audio_info_mp3
Definition mp3.h:42
spa_audio_info_mpegh
MPEG-H 3D audio info.
Definition mpegh.h:43
spa_audio_info_ra
Definition ra.h:24
spa_audio_info_truehd
Dolby TrueHD audio info.
Definition truehd.h:25
spa_audio_info_vorbis
Definition vorbis.h:24
spa_audio_info_wma
Definition wma.h:38
spa_audio_info
Definition format.h:43
spa_audio_info::dsd
struct spa_audio_info_dsd dsd
Definition format.h:50
spa_audio_info::vorbis
struct spa_audio_info_vorbis vorbis
Definition format.h:53
spa_audio_info::dsp
struct spa_audio_info_dsp dsp
Definition format.h:48
spa_audio_info::amr
struct spa_audio_info_amr amr
Definition format.h:56
spa_audio_info::dts
struct spa_audio_info_dts dts
Definition format.h:64
spa_audio_info::media_subtype
uint32_t media_subtype
Definition format.h:45
spa_audio_info::mp3
struct spa_audio_info_mp3 mp3
Definition format.h:51
spa_audio_info::ra
struct spa_audio_info_ra ra
Definition format.h:55
spa_audio_info::eac3
struct spa_audio_info_eac3 eac3
Definition format.h:62
spa_audio_info::raw
struct spa_audio_info_raw raw
Definition format.h:47
spa_audio_info::truehd
struct spa_audio_info_truehd truehd
Definition format.h:63
spa_audio_info::opus
struct spa_audio_info_ape opus
Definition format.h:60
spa_audio_info::ape
struct spa_audio_info_ape ape
Definition format.h:59
spa_audio_info::aac
struct spa_audio_info_aac aac
Definition format.h:52
spa_audio_info::media_type
uint32_t media_type
Definition format.h:44
spa_audio_info::iec958
struct spa_audio_info_iec958 iec958
Definition format.h:49
spa_audio_info::mpegh
struct spa_audio_info_mpegh mpegh
Definition format.h:65
spa_audio_info::ac3
struct spa_audio_info_ac3 ac3
Definition format.h:61
spa_audio_info::wma
struct spa_audio_info_wma wma
Definition format.h:54
spa_audio_info::alac
struct spa_audio_info_alac alac
Definition format.h:57
spa_audio_info::flac
struct spa_audio_info_flac flac
Definition format.h:58
truehd.h
spa/param/audio/truehd.h
vorbis.h
spa/param/audio/vorbis.h
wma.h
spa/param/audio/wma.h