Thanks.
Got in.
Have this
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
NUC:~ #
I tried first to change the 1 in the config file to 7. That cost me the sound on Kodi and did not get any on emulationstation. Then tried 3. Again, nothing.
Deleted file and now I have sound again on Kodi but not emulation station.
Did command speaker-test, didn't hear anything from box but got this on screen
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib /storage/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/alsa-lib-1.1.5/src/pcm/pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory