mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
pod: move compare and filter functions out of the library
This commit is contained in:
parent
60d4473e7b
commit
3b1c40f17f
35 changed files with 549 additions and 62 deletions
|
|
@ -30,10 +30,9 @@
|
|||
#include <spa/support/log.h>
|
||||
#include <spa/support/type-map.h>
|
||||
#include <spa/support/loop.h>
|
||||
#include <spa/support/plugin.h>
|
||||
#include <spa/monitor/monitor.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "alsa-monitor"
|
||||
|
||||
#define MAX_CARDS 32
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
#include <spa/node/node.h>
|
||||
#include <spa/param/audio/format.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "alsa-sink"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@
|
|||
#include <spa/node/node.h>
|
||||
#include <spa/utils/list.h>
|
||||
#include <spa/param/audio/format.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "alsa-source"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
#include <limits.h>
|
||||
#include <sys/timerfd.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include "alsa-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "audioconvert"
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "channelmix"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "fmtconvert"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "merger"
|
||||
|
|
|
|||
|
|
@ -32,8 +32,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "resample"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "splitter"
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include "mix-ops.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "audiotestsrc"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@
|
|||
#include <spa/param/meta.h>
|
||||
#include <spa/param/audio/format.h>
|
||||
#include <spa/param/audio/format-utils.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <sbc/sbc.h>
|
||||
|
||||
#include "defs.h"
|
||||
|
|
|
|||
|
|
@ -33,10 +33,9 @@
|
|||
#include <spa/support/type-map.h>
|
||||
#include <spa/support/loop.h>
|
||||
#include <spa/support/dbus.h>
|
||||
#include <spa/support/plugin.h>
|
||||
#include <spa/monitor/monitor.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
#include "a2dp-codecs.h"
|
||||
#include "defs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
#include <spa/node/node.h>
|
||||
#include <spa/node/io.h>
|
||||
#include <spa/param/video/format-utils.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define IS_VALID_PORT(this,d,id) ((id) == 0)
|
||||
#define GET_IN_PORT(this,p) (&this->in_ports[p])
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@
|
|||
#include <spa/node/node.h>
|
||||
#include <spa/node/io.h>
|
||||
#include <spa/param/video/format-utils.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
|
||||
#define IS_VALID_PORT(this,d,id) ((id) == 0)
|
||||
#define GET_IN_PORT(this,p) (&this->in_ports[p])
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@
|
|||
#include <spa/param/meta.h>
|
||||
#include <spa/param/format.h>
|
||||
#include <spa/pod/parser.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "fakesink"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@
|
|||
#include <spa/param/meta.h>
|
||||
#include <spa/param/format.h>
|
||||
#include <spa/pod/parser.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "fakesrc"
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,9 @@
|
|||
#include <spa/support/log.h>
|
||||
#include <spa/support/type-map.h>
|
||||
#include <spa/support/loop.h>
|
||||
#include <spa/support/plugin.h>
|
||||
#include <spa/monitor/monitor.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "v4l2-monitor"
|
||||
|
||||
extern const struct spa_handle_factory spa_v4l2_source_factory;
|
||||
|
|
|
|||
|
|
@ -34,9 +34,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "v4l2-source"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@
|
|||
#include <spa/param/video/format-utils.h>
|
||||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "videotestsrc"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@
|
|||
#include <spa/param/buffers.h>
|
||||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
|
||||
#include <lib/pod.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#define NAME "volume"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue