mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: make fixed latency dynamically changeable
This of course makes the name 'fixed' a bit of a misnomer. However the definitions are now like this: fixed latency: the latency may change during runtime, but is solely controlled by the backend, the client has no influence. dynamic latency: the latency may change during runtime, influenced by the requests of the clients. i.e. fixed vs. dynamic is from the perspective of the client.
This commit is contained in:
parent
4eb59fb90e
commit
350a2bc846
10 changed files with 212 additions and 52 deletions
|
|
@ -138,6 +138,10 @@ struct pa_sink_input {
|
|||
* from IO context. */
|
||||
void (*update_sink_latency_range) (pa_sink_input *i); /* may be NULL */
|
||||
|
||||
/* Called whenver the fixed latency of the sink changes, if there
|
||||
* is one. Called from IO context. */
|
||||
void (*update_sink_fixed_latency) (pa_sink_input *i); /* may be NULL */
|
||||
|
||||
/* If non-NULL this function is called when the input is first
|
||||
* connected to a sink or when the rtpoll/asyncmsgq fields
|
||||
* change. You usually don't need to implement this function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue