mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
use u->use_tsched everywhere
This commit is contained in:
parent
8282efcfa3
commit
4edb109239
2 changed files with 2 additions and 2 deletions
|
|
@ -1691,7 +1691,7 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, const char*driver, pa_ca
|
|||
|
||||
pa_sink_set_max_request(u->sink, u->hwbuf_size);
|
||||
|
||||
if (use_tsched) {
|
||||
if (u->use_tsched) {
|
||||
fix_min_sleep_wakeup(u);
|
||||
fix_tsched_watermark(u);
|
||||
|
||||
|
|
|
|||
|
|
@ -1541,7 +1541,7 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p
|
|||
nfrags, (long unsigned) u->fragment_size,
|
||||
(double) pa_bytes_to_usec(u->hwbuf_size, &ss) / PA_USEC_PER_MSEC);
|
||||
|
||||
if (use_tsched) {
|
||||
if (u->use_tsched) {
|
||||
fix_min_sleep_wakeup(u);
|
||||
fix_tsched_watermark(u);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue