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 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 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_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_dsp_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_dsp *info)
Definition: audio/dsp-utils.h:58
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:78
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 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 int spa_format_audio_parse(const struct spa_pod *format, struct spa_audio_info *info)
Definition: audio/format-utils.h:54
@ SPA_MEDIA_TYPE_audio
Definition: param/format.h:47
@ SPA_MEDIA_SUBTYPE_iec958
Definition: param/format.h:60
@ SPA_MEDIA_SUBTYPE_dsp
Definition: param/format.h:59
@ SPA_MEDIA_SUBTYPE_raw
Definition: param/format.h:58
@ SPA_MEDIA_SUBTYPE_dsd
S/PDIF.
Definition: param/format.h:61
Definition: param/audio/format.h:48
struct spa_audio_info_dsd dsd
Definition: param/audio/format.h:55
struct spa_audio_info_dsp dsp
Definition: param/audio/format.h:53
union spa_audio_info::@7 info
uint32_t media_subtype
Definition: param/audio/format.h:50
struct spa_audio_info_raw raw
Definition: param/audio/format.h:52
uint32_t media_type
Definition: param/audio/format.h:49
struct spa_audio_info_iec958 iec958
Definition: param/audio/format.h:54