Default Any suggestions getting 5.1 working with xbmc?

I have a newer denon receiver . I have set up xbmc to enable pass through and also set channels to 2 from everything I've read. I cannot get anything but stereo out of xbmc. Thanks for any help! Also this is streaming from plex server.