When PA at some time can do DTS-HD, TrueHD - I would |= DEVTYPE_HDMI and later on choose biggest, without the need for temporaries.