5 #ifndef SPA_AUDIO_DSD_UTILS_H 6 #define SPA_AUDIO_DSD_UTILS_H 22 #ifndef SPA_API_AUDIO_DSD_UTILS 24 #define SPA_API_AUDIO_DSD_UTILS SPA_API_IMPL 26 #define SPA_API_AUDIO_DSD_UTILS static inline 43 if (position == NULL ||
#define SPA_POD_OPT_Id(val)
Definition: parser.h:530
Interleave bytes (Int)
Definition: format.h:107
#define SPA_POD_Int(val)
Definition: vararg.h:54
media type (Id enum spa_media_type)
Definition: format.h:93
S/PDIF.
Definition: format.h:41
unknown bitorder
Definition: param.h:75
SPA_API_POD_ITER uint32_t spa_pod_copy_array(const struct spa_pod *pod, uint32_t type, void *values, uint32_t max_values)
Definition: iter.h:345
bit order (Id enum spa_param_bitorder)
Definition: format.h:106
SPA_API_AUDIO_DSD_UTILS struct spa_pod * spa_format_audio_dsd_build(struct spa_pod_builder *builder, uint32_t id, const struct spa_audio_info_dsd *info)
Definition: dsd-utils.h:58
#define SPA_FLAG_SET(field, flag)
Definition: defs.h:93
uint32_t rate
Definition: dsd.h:52
#define SPA_AUDIO_MAX_CHANNELS
Definition: raw.h:30
SPA_API_POD_BUILDER void * spa_pod_builder_pop(struct spa_pod_builder *builder, struct spa_pod_frame *frame)
Definition: builder.h:187
SPA_API_POD_BUILDER int spa_pod_builder_push_object(struct spa_pod_builder *builder, struct spa_pod_frame *frame, uint32_t type, uint32_t id)
Definition: builder.h:479
#define SPA_POD_OPT_Int(val)
Definition: parser.h:532
media subtype (Id enum spa_media_subtype)
Definition: format.h:94
enum spa_param_bitorder bitorder
Definition: dsd.h:49
SPA_API_POD_BUILDER int spa_pod_builder_add(struct spa_pod_builder *builder,...)
Definition: builder.h:691
#define spa_pod_parse_object(pod, type, id,...)
Definition: parser.h:586
uint32_t position[SPA_AUDIO_MAX_CHANNELS]
Definition: dsd.h:54
channel positions (Id enum spa_audio_position)
Definition: format.h:102
sample rate (Int)
Definition: format.h:100
number of audio channels (Int)
Definition: format.h:101
int32_t interleave
Definition: dsd.h:51
uint32_t channels
Definition: dsd.h:53
#define SPA_FLAG_IS_SET(field, flag)
Definition: defs.h:90
#define SPA_API_AUDIO_DSD_UTILS
Definition: dsd-utils.h:33
#define SPA_AUDIO_FLAG_UNPOSITIONED
Definition: raw.h:288
#define SPA_POD_Id(val)
Definition: vararg.h:49
uint32_t int int res
Definition: core.h:432
uint32_t flags
Definition: dsd.h:50
#define SPA_POD_OPT_Pod(val)
Definition: parser.h:556
SPA_API_AUDIO_DSD_UTILS int spa_format_audio_dsd_parse(const struct spa_pod *format, struct spa_audio_info_dsd *info)
Definition: dsd-utils.h:38
#define SPA_POD_Array(csize, ctype, n_vals, vals)
Definition: vararg.h:120