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

PipeWire 1.2.1

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#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/param/format.h>
18#include <spa/param/audio/raw.h>
19#include <spa/param/audio/dsp.h>
20#include <spa/param/audio/iec958.h>
21#include <spa/param/audio/dsd.h>
22#include <spa/param/audio/mp3.h>
23#include <spa/param/audio/aac.h>
24#include <spa/param/audio/vorbis.h>
25#include <spa/param/audio/wma.h>
26#include <spa/param/audio/ra.h>
27#include <spa/param/audio/amr.h>
28#include <spa/param/audio/alac.h>
29#include <spa/param/audio/flac.h>
30#include <spa/param/audio/ape.h>
31#include <spa/param/audio/opus.h>
32
33struct spa_audio_info {
34 uint32_t media_type;
35 uint32_t media_subtype;
36 union {
37 struct spa_audio_info_raw raw;
38 struct spa_audio_info_dsp dsp;
39 struct spa_audio_info_iec958 iec958;
40 struct spa_audio_info_dsd dsd;
41 struct spa_audio_info_mp3 mp3;
42 struct spa_audio_info_aac aac;
43 struct spa_audio_info_vorbis vorbis;
44 struct spa_audio_info_wma wma;
45 struct spa_audio_info_ra ra;
46 struct spa_audio_info_amr amr;
47 struct spa_audio_info_alac alac;
48 struct spa_audio_info_flac flac;
49 struct spa_audio_info_ape ape;
50 struct spa_audio_info_ape opus;
51 } info;
52};
53
58#ifdef __cplusplus
59} /* extern "C" */
60#endif
61
62#endif /* SPA_PARAM_AUDIO_FORMAT_H */
aac.h
spa/param/audio/aac.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
flac.h
spa/param/audio/flac.h
iec958.h
spa/param/audio/iec958.h
mp3.h
spa/param/audio/mp3.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_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_flac
Definition flac.h:24
spa_audio_info_iec958
Definition iec958.h:38
spa_audio_info_mp3
Definition mp3.h:32
spa_audio_info_ra
Definition ra.h:24
spa_audio_info_raw
Audio information description.
Definition raw.h:284
spa_audio_info_vorbis
Definition vorbis.h:24
spa_audio_info_wma
Definition wma.h:38
spa_audio_info
Definition format.h:38
spa_audio_info::dsd
struct spa_audio_info_dsd dsd
Definition format.h:45
spa_audio_info::info
union spa_audio_info::@4 info
spa_audio_info::vorbis
struct spa_audio_info_vorbis vorbis
Definition format.h:48
spa_audio_info::dsp
struct spa_audio_info_dsp dsp
Definition format.h:43
spa_audio_info::amr
struct spa_audio_info_amr amr
Definition format.h:51
spa_audio_info::media_subtype
uint32_t media_subtype
Definition format.h:40
spa_audio_info::mp3
struct spa_audio_info_mp3 mp3
Definition format.h:46
spa_audio_info::ra
struct spa_audio_info_ra ra
Definition format.h:50
spa_audio_info::raw
struct spa_audio_info_raw raw
Definition format.h:42
spa_audio_info::opus
struct spa_audio_info_ape opus
Definition format.h:55
spa_audio_info::ape
struct spa_audio_info_ape ape
Definition format.h:54
spa_audio_info::aac
struct spa_audio_info_aac aac
Definition format.h:47
spa_audio_info::media_type
uint32_t media_type
Definition format.h:39
spa_audio_info::iec958
struct spa_audio_info_iec958 iec958
Definition format.h:44
spa_audio_info::wma
struct spa_audio_info_wma wma
Definition format.h:49
spa_audio_info::alac
struct spa_audio_info_alac alac
Definition format.h:52
spa_audio_info::flac
struct spa_audio_info_flac flac
Definition format.h:53
vorbis.h
spa/param/audio/vorbis.h
wma.h
spa/param/audio/wma.h