• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

修訂2278dd1460e37fd011ca9b1101de478092fd1d74 (tree)
時間2023-10-09 19:28:46
作者Wim Taymans <wtaymans@redh...>
CommiterWim Taymans

Log Message

acp: only disable tsched when linking

Disable timer based scheduling only if we are going to link the devices
together.

See #3556

Change Summary

差異

--- a/spa/plugins/alsa/acp/acp.c
+++ b/spa/plugins/alsa/acp/acp.c
@@ -437,11 +437,13 @@ static int add_pro_profile(pa_card *impl, uint32_t index)
437437 pa_proplist_setf(m->output_proplist, "node.group", "pro-audio-%u", index);
438438 pa_proplist_setf(m->output_proplist, "node.link-group", "pro-audio-%u", index);
439439 pa_proplist_setf(m->output_proplist, "api.alsa.auto-link", "true");
440+ pa_proplist_setf(m->output_proplist, "api.alsa.disable-tsched", "true");
440441 }
441442 PA_IDXSET_FOREACH(m, ap->input_mappings, idx) {
442443 pa_proplist_setf(m->input_proplist, "node.group", "pro-audio-%u", index);
443444 pa_proplist_setf(m->input_proplist, "node.link-group", "pro-audio-%u", index);
444445 pa_proplist_setf(m->input_proplist, "api.alsa.auto-link", "true");
446+ pa_proplist_setf(m->input_proplist, "api.alsa.disable-tsched", "true");
445447 }
446448 }
447449 return 0;
--- a/spa/plugins/alsa/alsa-pcm.c
+++ b/spa/plugins/alsa/alsa-pcm.c
@@ -514,7 +514,6 @@ int spa_alsa_init(struct state *state, const struct spa_dict *info)
514514
515515 state->multi_rate = true;
516516 state->htimestamp = false;
517- state->disable_tsched = state->is_pro;
518517 for (i = 0; info && i < info->n_items; i++) {
519518 const char *k = info->items[i].key;
520519 const char *s = info->items[i].value;