fixing analog gain >max fallback conditional
type cast has higher precedence than struct member access