Sound from dataprojector, not laptop

I have noticed, that when I am transferring a video via HDMI to my Epson projector it uses projector speakers for the sound. While doing the same from Ubuntu it uses laptop speakers. I haven't figured out how to force Ubuntu to use projector's speakers.