If you cannot get sound through the TV with either the cable box or bluray then the cable box cannot be at fault. HDMI connections can be very frustrating. Try turning the source on first and then the TV.
Try different brand of HDMI cable. Try a different input on the TV.