Settings -> Audio Output Settings -> HDMI -> Automatic