Skip to content

si-audio-adapter: parse the rate optionally

Wim Taymans requested to merge wtaymans/wireplumber:parse-rate-optional into master

We can use spa_format_audio_raw_parse() because we need to parse the samplerate here optionally.

Many virtual sinks will not set a rate, which makes parsing fail and the node will end up with the default channels/positions, which is most likely wrong.

Fixes channel positions for virtual sinks.

Merge request reports

Loading