From 5ca74996f0733b0b462926278536cc184f07438c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Jul 2025 13:40:37 +0200 Subject: [PATCH] filter-graph: allow setting a fixed rate It's possible to make the filter streams resample to a specific rate before running the graph. --- src/modules/module-filter-chain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/module-filter-chain.c b/src/modules/module-filter-chain.c index 262ad0c51..263767068 100644 --- a/src/modules/module-filter-chain.c +++ b/src/modules/module-filter-chain.c @@ -1718,6 +1718,7 @@ static void parse_audio_info(struct pw_properties *props, struct spa_audio_info_ &SPA_DICT_ITEMS( SPA_DICT_ITEM(SPA_KEY_AUDIO_FORMAT, "F32P")), &props->dict, + SPA_KEY_AUDIO_RATE, SPA_KEY_AUDIO_CHANNELS, SPA_KEY_AUDIO_POSITION, NULL); }