introduce new flag that marks sinks/sources which can adjust the latency dynamically

This commit is contained in:
Lennart Poettering 2009-03-25 00:30:54 +01:00
parent 9bca59efc1
commit 44ca897769
8 changed files with 64 additions and 21 deletions

View file

@ -1514,7 +1514,7 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p
pa_alsa_init_description(data.proplist);
u->source = pa_source_new(m->core, &data, PA_SOURCE_HARDWARE|PA_SOURCE_LATENCY);
u->source = pa_source_new(m->core, &data, PA_SOURCE_HARDWARE|PA_SOURCE_LATENCY|(u->use_tsched ? PA_SOURCE_DYNAMIC_LATENCY : 0));
pa_source_new_data_done(&data);
if (!u->source) {