mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
on monitor source be fine with any latency range set by the sink
This commit is contained in:
parent
6defb1a6bf
commit
39576ec829
1 changed files with 2 additions and 1 deletions
|
|
@ -1204,7 +1204,8 @@ void pa_source_set_latency_range_within_thread(pa_source *s, pa_usec_t min_laten
|
||||||
/* Hmm, let's see if someone forgot to set PA_SOURCE_DYNAMIC_LATENCY here... */
|
/* Hmm, let's see if someone forgot to set PA_SOURCE_DYNAMIC_LATENCY here... */
|
||||||
pa_assert((min_latency == ABSOLUTE_MIN_LATENCY &&
|
pa_assert((min_latency == ABSOLUTE_MIN_LATENCY &&
|
||||||
max_latency == ABSOLUTE_MAX_LATENCY) ||
|
max_latency == ABSOLUTE_MAX_LATENCY) ||
|
||||||
(s->flags & PA_SOURCE_DYNAMIC_LATENCY));
|
(s->flags & PA_SOURCE_DYNAMIC_LATENCY) ||
|
||||||
|
s->monitor_of);
|
||||||
|
|
||||||
s->thread_info.min_latency = min_latency;
|
s->thread_info.min_latency = min_latency;
|
||||||
s->thread_info.max_latency = max_latency;
|
s->thread_info.max_latency = max_latency;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue