mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Reorganise SPA tree
Reorganise the SPA includes to make it more extensible later Simplify the naming of the buffer and meta params
This commit is contained in:
parent
58451d626c
commit
caaeaff223
151 changed files with 1353 additions and 964 deletions
|
|
@ -22,8 +22,10 @@
|
|||
#include <errno.h>
|
||||
#include <sys/eventfd.h>
|
||||
|
||||
#include <spa/format-utils.h>
|
||||
#include <spa/loop.h>
|
||||
#include <spa/support/loop.h>
|
||||
#include <spa/pod/parser.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,14 +24,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/defs.h>
|
||||
#include <spa/node.h>
|
||||
#include <spa/buffer.h>
|
||||
#include <spa/pod.h>
|
||||
#include <spa/props.h>
|
||||
#include <spa/format.h>
|
||||
#include <spa/dict.h>
|
||||
#include <spa/log.h>
|
||||
#include <spa/node/node.h>
|
||||
#include <spa/pod/pod.h>
|
||||
|
||||
void spa_debug_set_type_map(const struct spa_type_map *map);
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,9 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <spa/props.h>
|
||||
#include <spa/pod-builder.h>
|
||||
#include <spa/param/props.h>
|
||||
#include <spa/pod/iter.h>
|
||||
#include <spa/pod/builder.h>
|
||||
|
||||
static int compare_value(enum spa_pod_type type, const void *r1, const void *r2)
|
||||
{
|
||||
|
|
@ -380,7 +381,7 @@ int pod_filter(struct spa_pod_builder *b,
|
|||
}
|
||||
if (do_advance) {
|
||||
pf = spa_pod_next(pf);
|
||||
if (!spa_pod_is_iter(filter, filter_size, pf))
|
||||
if (!spa_pod_is_inside(filter, filter_size, pf))
|
||||
pf = NULL;
|
||||
}
|
||||
|
||||
|
|
@ -482,7 +483,7 @@ int pod_compare(const struct spa_pod *pod1,
|
|||
}
|
||||
if (do_advance) {
|
||||
p2 = spa_pod_next(p2);
|
||||
if (!spa_pod_is_iter(pod2, pod2_size, p2))
|
||||
if (!spa_pod_is_inside(pod2, pod2_size, p2))
|
||||
p2 = NULL;
|
||||
}
|
||||
if (do_recurse) {
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/props.h>
|
||||
#include <spa/pod-builder.h>
|
||||
#include <spa/param/props.h>
|
||||
#include <spa/pod/builder.h>
|
||||
|
||||
int spa_pod_filter(struct spa_pod_builder *b,
|
||||
const struct spa_pod *pod,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue