If for some reason you are not getting any audio through omxplayer on your Raspberry Pi , try the following steps:
- Execute: sudo nano /boot/config.txt
- Uncomment line: hdmi_drive=2
- Re-start your Raspberry Pi such as it reboots
- Connect to your PI again and try to play a file e.g omxplayer -o hdmi /home/pi/myNAS/myShare/The.Big.Bang.Theory.mp4
The important thing is to use the -o hdmi option.