use u->use_tsched everywhere

This commit is contained in:
Lennart Poettering 2009-03-25 16:17:45 +01:00
parent 8282efcfa3
commit 4edb109239
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);