I'm having problems getting audio over HDMI working correctly (running ArchARM). I have in my
hello_audio.bin and ran it with 0 and 1 as args, both work (through the TV and the jack)
Sound over the analogue jack works fine with aplay when I switch with:
amixer cset numid=3 1
But I can't get aplay to play wav files over HDMI (I switched to hdmi with amixer cset numid=3 2)
Just to update: I can play mp3 files in mpg123/mplayer over HDMI but still no luck with wavs.