I want to route (clone) my audio output (all sounds that are leaving the system through hdmi) to an virtual input device so I can capture the output (virtual audio cable). As said the output is hdmi and I'm using kodi for playback.
I've searched a lot but couldn't find the perfect solution. I want a config which affects my actual system as little as possible. Also I have to say that I use passthrough in kodi.
I know it could be possible with Jack but couldn't find a solution. Also I know it could be possible with "plain" alsa and a loopback interface and finally it could be possible with pulseaudio but everything is so much confusing especially with hdmi.
Right now I'm using alsa.