diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-25 16:17:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-25 16:17:45 +0100 |
commit | 4edb109239c746c6fb69aa15067c5a125aeefe22 (patch) | |
tree | 64c3f5bf620ab5285631832cf17b855f8b5ea44f /src/modules | |
parent | 8282efcfa3cbc5822ca03fce93c116bfd065d1f0 (diff) |
use u->use_tsched everywhere
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/alsa/alsa-sink.c | 2 | ||||
-rw-r--r-- | src/modules/alsa/alsa-source.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index 30405822..7c09553e 100644 --- a/src/modules/alsa/alsa-sink.c +++ b/src/modules/alsa/alsa-sink.c @@ -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); diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c index 4a535aab..dfd18702 100644 --- a/src/modules/alsa/alsa-source.c +++ b/src/modules/alsa/alsa-source.c @@ -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); |