I am using a Hifiberry Digi board with a Raspberry Pi 3.
1.) While playing a video I am getting SPDIF data out but I have a case where I want to stop audio playing via SPDIF and play audio on the HDMI port.
2.) Then be able to mute the audio on the HDMI port and play SPDIF audio.
Any ideas on this?