mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Improve ringbuffer support
Fix ringbuffer mixing in audiomixer Add ringbuffer support in audiotestsrc params Don't recycle buffers before signaling have_output, the app is supposed to recycle explicitly or with a process_output call. Add some trace to graph functions in tests Add ringbuffer support in export-source
This commit is contained in:
parent
e11e19f3e7
commit
8c77332f25
8 changed files with 110 additions and 61 deletions
|
|
@ -35,14 +35,17 @@
|
|||
#include <spa/audio/format-utils.h>
|
||||
#include <spa/format-utils.h>
|
||||
#include <spa/format-builder.h>
|
||||
#include <spa/graph.h>
|
||||
#include <spa/graph-scheduler1.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
static SPA_TYPE_MAP_IMPL(default_map, 4096);
|
||||
static SPA_LOG_IMPL(default_log);
|
||||
|
||||
#define spa_debug(f,...) spa_log_trace(&default_log.log, f, __VA_ARGS__)
|
||||
|
||||
#include <spa/graph.h>
|
||||
#include <spa/graph-scheduler6.h>
|
||||
|
||||
#include <lib/debug.h>
|
||||
|
||||
struct type {
|
||||
uint32_t node;
|
||||
uint32_t props;
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@
|
|||
#include <spa/log.h>
|
||||
#include <spa/log-impl.h>
|
||||
#include <spa/loop.h>
|
||||
#include <spa/graph.h>
|
||||
#include <spa/graph-scheduler1.h>
|
||||
#include <spa/type-map.h>
|
||||
#include <spa/type-map-impl.h>
|
||||
#include <spa/audio/format-utils.h>
|
||||
|
|
@ -43,6 +41,11 @@
|
|||
static SPA_TYPE_MAP_IMPL(default_map, 4096);
|
||||
static SPA_LOG_IMPL(default_log);
|
||||
|
||||
#define spa_debug(...) spa_log_trace(&default_log.log,__VA_ARGS__)
|
||||
|
||||
#include <spa/graph.h>
|
||||
#include <spa/graph-scheduler1.h>
|
||||
|
||||
struct type {
|
||||
uint32_t node;
|
||||
uint32_t props;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue