mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
remove spalib
This commit is contained in:
parent
f532fd8681
commit
a6ad8f747f
69 changed files with 612 additions and 1250 deletions
|
|
@ -6,7 +6,7 @@ spa_alsa_sources = ['alsa.c',
|
|||
|
||||
spa_alsa = shared_library('spa-alsa',
|
||||
spa_alsa_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
dependencies : [ alsa_dep, libudev_dep ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/alsa'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -32,8 +32,7 @@
|
|||
#include <spa/param/meta.h>
|
||||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
#include <spa/debug/pod.h>
|
||||
|
||||
#define NAME "audioconvert"
|
||||
|
||||
|
|
@ -204,18 +203,13 @@ static void clean_link(struct impl *this, struct link *link)
|
|||
static int debug_params(struct impl *this, struct spa_node *node,
|
||||
enum spa_direction direction, uint32_t port_id, uint32_t id, struct spa_pod *filter)
|
||||
{
|
||||
struct type *t = &this->type;
|
||||
struct spa_pod_builder b = { 0 };
|
||||
uint8_t buffer[4096];
|
||||
uint32_t state, flag;
|
||||
struct spa_pod *format;
|
||||
uint32_t state;
|
||||
struct spa_pod *param;
|
||||
int res;
|
||||
|
||||
flag = 0;
|
||||
if (id == t->param.idEnumFormat)
|
||||
flag |= SPA_DEBUG_FLAG_FORMAT;
|
||||
|
||||
spa_log_error(this->log, "formats:");
|
||||
spa_log_error(this->log, "params:");
|
||||
|
||||
state = 0;
|
||||
while (true) {
|
||||
|
|
@ -223,16 +217,16 @@ static int debug_params(struct impl *this, struct spa_node *node,
|
|||
res = spa_node_port_enum_params(node,
|
||||
direction, port_id,
|
||||
id, &state,
|
||||
NULL, &format, &b);
|
||||
NULL, ¶m, &b);
|
||||
if (res <= 0)
|
||||
break;
|
||||
|
||||
spa_debug_pod(format, flag);
|
||||
spa_debug_pod(2, this->map, param);
|
||||
}
|
||||
|
||||
spa_log_error(this->log, "failed filter:");
|
||||
if (filter)
|
||||
spa_debug_pod(filter, flag);
|
||||
spa_debug_pod(2, this->map, filter);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@
|
|||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "merger"
|
||||
|
||||
#define DEFAULT_RATE 48000
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ audioconvert_sources = ['fmtconvert.c',
|
|||
|
||||
audioconvertlib = shared_library('spa-audioconvert',
|
||||
audioconvert_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
dependencies : speexdsp_dep,
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/audioconvert/'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
#include <spa/param/io.h>
|
||||
#include <spa/pod/filter.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
#define NAME "splitter"
|
||||
|
||||
#define MAX_BUFFERS 64
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ audiomixer_sources = ['audiomixer.c', 'mix-ops.c', 'plugin.c']
|
|||
|
||||
audiomixerlib = shared_library('spa-audiomixer',
|
||||
audiomixer_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/audiomixer/'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ audiotestsrc_sources = ['audiotestsrc.c', 'plugin.c']
|
|||
|
||||
audiotestsrclib = shared_library('spa-audiotestsrc',
|
||||
audiotestsrc_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
dependencies : mathlib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/audiotestsrc'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ bluez5_sources = ['plugin.c',
|
|||
|
||||
bluez5lib = shared_library('spa-bluez5',
|
||||
bluez5_sources,
|
||||
include_directories : [ spa_inc, spa_libinc ],
|
||||
include_directories : [ spa_inc ],
|
||||
dependencies : [ dbus_dep, sbc_dep ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/bluez5'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ ffmpeg_sources = ['ffmpeg.c',
|
|||
|
||||
ffmpeglib = shared_library('spa-ffmpeg',
|
||||
ffmpeg_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
dependencies : [ avcodec_dep, avformat_dep ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/ffmpeg'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ spa_support_sources = ['mapper.c',
|
|||
|
||||
spa_support_lib = shared_library('spa-support',
|
||||
spa_support_sources,
|
||||
include_directories : [ spa_inc, spa_libinc],
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : threads_dep,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/support'.format(get_option('libdir')))
|
||||
|
|
@ -14,7 +14,7 @@ spa_dbus_sources = ['dbus.c']
|
|||
|
||||
spa_dbus_lib = shared_library('spa-dbus',
|
||||
spa_dbus_sources,
|
||||
include_directories : [ spa_inc, spa_libinc],
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : dbus_dep,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/support'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ test_sources = ['fakesrc.c', 'fakesink.c', 'plugin.c']
|
|||
|
||||
testlib = shared_library('spa-test',
|
||||
test_sources,
|
||||
include_directories : [ spa_inc, spa_libinc],
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : threads_dep,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/test'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ v4l2_sources = ['v4l2.c',
|
|||
|
||||
v4l2lib = shared_library('spa-v4l2',
|
||||
v4l2_sources,
|
||||
include_directories : [ spa_inc, spa_libinc ],
|
||||
include_directories : [ spa_inc ],
|
||||
dependencies : [ v4l2_dep, libudev_dep ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/v4l2'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ videotestsrc_sources = ['videotestsrc.c', 'plugin.c']
|
|||
|
||||
videotestsrclib = shared_library('spa-videotestsrc',
|
||||
videotestsrc_sources,
|
||||
include_directories : [ spa_inc, spa_libinc],
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : threads_dep,
|
||||
install : true,
|
||||
install_dir : '@0@/spa/videotestsrc'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ volume_sources = ['volume.c', 'plugin.c']
|
|||
|
||||
volumelib = shared_library('spa-volume',
|
||||
volume_sources,
|
||||
include_directories : [spa_inc, spa_libinc],
|
||||
include_directories : [spa_inc],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/volume'.format(get_option('libdir')))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue