PipeWire 1.1.0
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>
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 {
52};
58#ifdef __cplusplus
59} /* extern "C" */
60#endif
61
62#endif /* SPA_PARAM_AUDIO_FORMAT_H */
spa/param/audio/raw.h
spa/param/audio/dsd.h
spa/param/audio/iec958.h
spa/param/format.h
Definition aac.h:38
Definition alac.h:18
Definition amr.h:24
Definition ape.h:18
Definition dsd.h:48
Definition dsp.h:18
Definition flac.h:18
Definition iec958.h:38
Definition mp3.h:26
Definition ra.h:18
Audio information description.
Definition raw.h:284
Definition vorbis.h:18
Definition wma.h:32
Definition format.h:38
struct spa_audio_info_dsd dsd
Definition format.h:45
union spa_audio_info::@4 info
struct spa_audio_info_vorbis vorbis
Definition format.h:48
struct spa_audio_info_dsp dsp
Definition format.h:43
struct spa_audio_info_amr amr
Definition format.h:51
uint32_t media_subtype
Definition format.h:40
struct spa_audio_info_mp3 mp3
Definition format.h:46
struct spa_audio_info_ra ra
Definition format.h:50
struct spa_audio_info_raw raw
Definition format.h:42
struct spa_audio_info_ape opus
Definition format.h:55
struct spa_audio_info_ape ape
Definition format.h:54
struct spa_audio_info_aac aac
Definition format.h:47
uint32_t media_type
Definition format.h:39
struct spa_audio_info_iec958 iec958
Definition format.h:44
struct spa_audio_info_wma wma
Definition format.h:49
struct spa_audio_info_alac alac
Definition format.h:52
struct spa_audio_info_flac flac
Definition format.h:53