Configured Passthrough codecs are not saved
Steps:
- In pavucontrol, select an iec958 profile on a capable card in Configuration.
- In the Output Devices tab, click the advanced button.
- Tick the checkboxes for some codecs.
- Restart WirePlumber.
- Ticked checkboxes are gone.
The codec toggle will result in the device-restore extension setting the SPA_PROP_iec958Codecs on the Route or Node. WirePlumber should detect the change and save the setting, similar to the latencyOffsetNsec, which wireplumber handles.
Restore is the same as the latencyOffsetNsec, which is set as a property on the Route/Node when the device/node appears.