I will guess that you are using the receiver as an HDMI input selector for the projector.
Even if you got a new one with two HDMI outputs it will not likely send audio out the second HDMI unless the receiver is set up to do 2 video zones. Not common.
The solution is to replace the receiver with an HDMI input selector with audio extraction.
https/www.monoprice.com/Product?p_id=5557&kpid=105557&gclid=CPPY2sLnwcYCFYIXHwodhY0FTw
That will provide an HDMI output for the projector and an analog and digital audio output for the soundbar.
If there is another purpose to using the receiver you could use the HDMI switch between your sources and the receiver instead of directly to the projector.