Regressions in S/PDIF handling
Now that spidf is basically working, several regressions can be found easily, ranging from "plugin is not usable anymore" failures, tries to open spdif even if no spdif device is present, up to crashes because of wrong frees (audio device list!).
Just plug in and out the spdif cable while audio is playing and not playing, and try several scenarios.
Update - Remaining issues:
-
listener needed for event that spdif is available again to: update devices list, restart aout
-
default output device is broken sometimes: 0 is no valid id. Resulting fallback to default device does not work in some cases (play digital, then unplug spdif cable, then select default device --> default device variable is also 0)