Samsung TV/Sound Bar

Got a Samsung TV with a smart connect box so the sound bar doesn’t connect directly to the tv, instead a hdmi hub. Sound bar works with everything except the Apple TV box, and reverts to the internal speakers. Any ideas?