25#ifndef SPA_PARAM_AUDIO_FORMAT_UTILS_H
26#define SPA_PARAM_AUDIO_FORMAT_UTILS_H
static int spa_format_audio_iec958_parse(const struct spa_pod *format, struct spa_audio_info_iec958 *info)
Definition: iec958-utils.h:48
static int spa_format_audio_mp3_parse(const struct spa_pod *format, struct spa_audio_info_mp3 *info)
Definition: mp3-utils.h:48
static struct spa_pod * spa_format_audio_alac_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_alac *info)
Definition: alac-utils.h:59
static struct spa_pod * spa_format_audio_iec958_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_iec958 *info)
Definition: iec958-utils.h:59
static int spa_format_audio_aac_parse(const struct spa_pod *format, struct spa_audio_info_aac *info)
Definition: aac-utils.h:48
static struct spa_pod * spa_format_audio_raw_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_raw *info)
Definition: audio/raw-utils.h:67
static int spa_format_parse(const struct spa_pod *format, uint32_t *media_type, uint32_t *media_subtype)
Definition: format-utils.h:47
static int spa_format_audio_raw_parse(const struct spa_pod *format, struct spa_audio_info_raw *info)
Definition: audio/raw-utils.h:48
static struct spa_pod * spa_format_audio_ape_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_ape *info)
Definition: ape-utils.h:59
static int spa_format_audio_ape_parse(const struct spa_pod *format, struct spa_audio_info_ape *info)
Definition: ape-utils.h:48
static struct spa_pod * spa_format_audio_aac_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_aac *info)
Definition: aac-utils.h:62
static struct spa_pod * spa_format_audio_ra_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_ra *info)
Definition: ra-utils.h:59
static int spa_format_audio_dsd_parse(const struct spa_pod *format, struct spa_audio_info_dsd *info)
Definition: dsd-utils.h:48
static int spa_format_audio_amr_parse(const struct spa_pod *format, struct spa_audio_info_amr *info)
Definition: amr-utils.h:48
static struct spa_pod * spa_format_audio_dsp_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_dsp *info)
Definition: audio/dsp-utils.h:58
static int spa_format_audio_dsp_parse(const struct spa_pod *format, struct spa_audio_info_dsp *info)
Definition: audio/dsp-utils.h:48
static struct spa_pod * spa_format_audio_vorbis_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_vorbis *info)
Definition: vorbis-utils.h:59
static int spa_format_audio_flac_parse(const struct spa_pod *format, struct spa_audio_info_flac *info)
Definition: flac-utils.h:48
static struct spa_pod * spa_format_audio_flac_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_flac *info)
Definition: flac-utils.h:59
static int spa_format_audio_wma_parse(const struct spa_pod *format, struct spa_audio_info_wma *info)
Definition: wma-utils.h:48
static struct spa_pod * spa_format_audio_wma_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_wma *info)
Definition: wma-utils.h:62
static struct spa_pod * spa_format_audio_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info *info)
Definition: audio/format-utils.h:105
static struct spa_pod * spa_format_audio_dsd_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_dsd *info)
Definition: dsd-utils.h:68
static struct spa_pod * spa_format_audio_amr_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_amr *info)
Definition: amr-utils.h:60
static int spa_format_audio_alac_parse(const struct spa_pod *format, struct spa_audio_info_alac *info)
Definition: alac-utils.h:48
static int spa_format_audio_parse(const struct spa_pod *format, struct spa_audio_info *info)
Definition: audio/format-utils.h:63
static int spa_format_audio_vorbis_parse(const struct spa_pod *format, struct spa_audio_info_vorbis *info)
Definition: vorbis-utils.h:48
static struct spa_pod * spa_format_audio_mp3_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_mp3 *info)
Definition: mp3-utils.h:59
static int spa_format_audio_ra_parse(const struct spa_pod *format, struct spa_audio_info_ra *info)
Definition: ra-utils.h:48
@ SPA_MEDIA_TYPE_audio
Definition: param/format.h:47
@ SPA_MEDIA_SUBTYPE_alac
Definition: param/format.h:76
@ SPA_MEDIA_SUBTYPE_ra
Definition: param/format.h:68
@ SPA_MEDIA_SUBTYPE_mp3
Definition: param/format.h:64
@ SPA_MEDIA_SUBTYPE_aac
Definition: param/format.h:65
@ SPA_MEDIA_SUBTYPE_iec958
Definition: param/format.h:60
@ SPA_MEDIA_SUBTYPE_ape
since 0.3.65
Definition: param/format.h:78
@ SPA_MEDIA_SUBTYPE_wma
Definition: param/format.h:67
@ SPA_MEDIA_SUBTYPE_amr
Definition: param/format.h:74
@ SPA_MEDIA_SUBTYPE_dsp
Definition: param/format.h:59
@ SPA_MEDIA_SUBTYPE_vorbis
Definition: param/format.h:66
@ SPA_MEDIA_SUBTYPE_raw
Definition: param/format.h:58
@ SPA_MEDIA_SUBTYPE_dsd
S/PDIF.
Definition: param/format.h:61
@ SPA_MEDIA_SUBTYPE_flac
since 0.3.65
Definition: param/format.h:77
Definition: param/audio/format.h:57
struct spa_audio_info_dsd dsd
Definition: param/audio/format.h:64
struct spa_audio_info_vorbis vorbis
Definition: param/audio/format.h:67
struct spa_audio_info_dsp dsp
Definition: param/audio/format.h:62
union spa_audio_info::@7 info
struct spa_audio_info_amr amr
Definition: param/audio/format.h:70
uint32_t media_subtype
Definition: param/audio/format.h:59
struct spa_audio_info_mp3 mp3
Definition: param/audio/format.h:65
struct spa_audio_info_ra ra
Definition: param/audio/format.h:69
struct spa_audio_info_raw raw
Definition: param/audio/format.h:61
struct spa_audio_info_ape ape
Definition: param/audio/format.h:73
struct spa_audio_info_aac aac
Definition: param/audio/format.h:66
uint32_t media_type
Definition: param/audio/format.h:58
struct spa_audio_info_iec958 iec958
Definition: param/audio/format.h:63
struct spa_audio_info_wma wma
Definition: param/audio/format.h:68
struct spa_audio_info_alac alac
Definition: param/audio/format.h:71
struct spa_audio_info_flac flac
Definition: param/audio/format.h:72