core: add a seperate fixed_latency field for sinks/sources with fixed latency

This commit is contained in:
Lennart Poettering 2009-04-10 01:26:04 +02:00
parent 9ae8ca2c37
commit f7c229d8f9
7 changed files with 67 additions and 28 deletions

View file

@ -86,6 +86,8 @@ struct pa_sink {
pa_memchunk silence;
pa_usec_t fixed_latency; /* for sinks with PA_SINK_DYNAMIC_LATENCY this is 0 */
/* Called when the main loop requests a state change. Called from
* main loop context. If returns -1 the state change will be
* inhibited */