filter-graph: allow setting a fixed rate

It's possible to make the filter streams resample to a specific rate
before running the graph.
This commit is contained in:
Wim Taymans 2025-07-10 13:40:37 +02:00
parent eec1ac20b7
commit 5ca74996f0

View file

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