mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-09 10:07:23 -05:00
virtual-source-common: Integrate uplink sink into virtual source library
This patch integrates the uplink sink feature of module-virtual-source into the virtual source library, so that every virtual source can use it. The patch also introduces latency handling and rewinding for the uplink sink. Similar to the monitor source, the only useful definition of the latency appears to be the negative of the master source latency. Rewinding will not be possible in most situations, because the underlying memblockq is nearly always empty. module-combine-sink and module-suspend-on-idle required some changes to deal correctly with this type of sink.
This commit is contained in:
parent
0b26ed9b0c
commit
9f70ad3c95
10 changed files with 512 additions and 249 deletions
|
|
@ -69,3 +69,6 @@ pa_vsource* pa_virtual_source_vsource_new(pa_source *s);
|
|||
|
||||
/* Update filter parameters */
|
||||
void pa_virtual_source_request_parameter_update(pa_vsource *vs, void *parameters);
|
||||
|
||||
/* Post data, mix in uplink sink */
|
||||
void pa_virtual_source_post(pa_source *s, const pa_memchunk *chunk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue