Actually the ofSoundPlayer in the same program output on the jack and not HDMI. I’ll try the asound.conf modification before going to ofxOMXPlayer if it’s not working.
Gstreamer method seams not safe enough to be tried like this (solution from 2014 wich implies different version of Linux, OF and so on + no explanation on what is done exactly with the pipeline configuration)
Ok so finally I gave up the software solution, came back to hdmi output in raspi-config and bought some hdmi to hdmi+jack extractor.
Asound.conf did not solve the problem, ofxOMXPlayer was implying too much change in my programms (I got 6 Raspberry in my installation with different program and video player on them).
Gstreamer could be an option but I’ll give it a try when I’ll have time to study this correctly.