mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
Add fakesrc ! fakesink test
Add fakesrc and fakesink and some performance test Small cleanups
This commit is contained in:
parent
6691eb7845
commit
12effccb06
16 changed files with 2526 additions and 22 deletions
|
|
@ -398,6 +398,10 @@ make_nodes (AppData *data, const char *device)
|
|||
if ((res = spa_node_add_port (data->mix, SPA_DIRECTION_INPUT, 1)) < 0)
|
||||
return res;
|
||||
|
||||
data->source1_mix_io[0] = SPA_PORT_IO_INIT;
|
||||
data->source2_mix_io[0] = SPA_PORT_IO_INIT;
|
||||
data->mix_sink_io[0] = SPA_PORT_IO_INIT;
|
||||
|
||||
spa_node_port_set_io (data->source1, SPA_DIRECTION_OUTPUT, 0, &data->source1_mix_io[0]);
|
||||
spa_node_port_set_io (data->source2, SPA_DIRECTION_OUTPUT, 0, &data->source2_mix_io[0]);
|
||||
spa_node_port_set_io (data->mix, SPA_DIRECTION_INPUT, 0, &data->source1_mix_io[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue