Pipewireパッケージ(ちょっと変更)
修訂 | 2278dd1460e37fd011ca9b1101de478092fd1d74 (tree) |
---|---|
時間 | 2023-10-09 19:28:46 |
作者 | Wim Taymans <wtaymans@redh...> |
Commiter | Wim Taymans |
acp: only disable tsched when linking
Disable timer based scheduling only if we are going to link the devices
together.
See #3556
@@ -437,11 +437,13 @@ static int add_pro_profile(pa_card *impl, uint32_t index) | ||
437 | 437 | pa_proplist_setf(m->output_proplist, "node.group", "pro-audio-%u", index); |
438 | 438 | pa_proplist_setf(m->output_proplist, "node.link-group", "pro-audio-%u", index); |
439 | 439 | pa_proplist_setf(m->output_proplist, "api.alsa.auto-link", "true"); |
440 | + pa_proplist_setf(m->output_proplist, "api.alsa.disable-tsched", "true"); | |
440 | 441 | } |
441 | 442 | PA_IDXSET_FOREACH(m, ap->input_mappings, idx) { |
442 | 443 | pa_proplist_setf(m->input_proplist, "node.group", "pro-audio-%u", index); |
443 | 444 | pa_proplist_setf(m->input_proplist, "node.link-group", "pro-audio-%u", index); |
444 | 445 | pa_proplist_setf(m->input_proplist, "api.alsa.auto-link", "true"); |
446 | + pa_proplist_setf(m->input_proplist, "api.alsa.disable-tsched", "true"); | |
445 | 447 | } |
446 | 448 | } |
447 | 449 | return 0; |
@@ -514,7 +514,6 @@ int spa_alsa_init(struct state *state, const struct spa_dict *info) | ||
514 | 514 | |
515 | 515 | state->multi_rate = true; |
516 | 516 | state->htimestamp = false; |
517 | - state->disable_tsched = state->is_pro; | |
518 | 517 | for (i = 0; info && i < info->n_items; i++) { |
519 | 518 | const char *k = info->items[i].key; |
520 | 519 | const char *s = info->items[i].value; |