mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
jack: improve jack-sink and jack-source
Add more properties to sink/source to make them always process and have the right priorities. Make sure the sink has higher priority than the source so that we can pull in samples through the graph. Only trigger the graph cycle when driving the graph. Make sure to return something from process to signal that the graph can continue processing.
This commit is contained in:
parent
b9381a9da6
commit
815501cc1f
4 changed files with 42 additions and 14 deletions
|
|
@ -393,6 +393,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this = (struct impl *) handle;
|
||||
|
||||
this->log = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log);
|
||||
this->client.log = this->log;
|
||||
|
||||
this->device.iface = SPA_INTERFACE_INIT(
|
||||
SPA_TYPE_INTERFACE_Device,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue