Posting this because various snd_hda attempts so far failed, this may be easier:
Other modules available besides oss_hdaudio. The following then should work with wav, ogg files at least:
(More information to include, however, IANAE and this post should just relate what I know for certain...)
..........
edit 1...
........
........
edit 2... Seems to play Ogg GOOD
........
Code:
cd /usr/ports/audio/oss && make install
kldload /usr/local/lib/oss/modules/osscore.ko
kldload /usr/local/lib/oss/modules/oss_hdaudio.ko
Code:
ossplay -d /dev/oss/oss_hdaudio0/pcm0 [file]
(More information to include, however, IANAE and this post should just relate what I know for certain...)
..........
edit 1...
........
Code:
mpg123 -v -a /dev/oss/oss_hdaudio0/pcm0 [mp3 file]
edit 2... Seems to play Ogg GOOD
........
Code:
cd /usr/ports/audio/vorbis-tools
/bin/rm -rf work
make install
rehash
ogg123 -v -d oss -o dsp:/dev/oss/oss_hdaudio0/pvcm0 [ogg file]