Dolby digital over hdmi

Is there any way to play Dolby digital or DTS over HDMI?

An audio amplifier with HDMI interface will do, or a HDMI converter

Hi, I have a Onkyo tx-nr1008 connected over HDMI. The problem I have, is that my banana pi only output 2ch analog over HDMI. I can’t change that in Ubuntu, The sound card or what ever can only change from HDMI to audiojack. Both is only in 2ch available.

it supports 8 channels, depends on the coder and how you use it.