Convert a channels array to a uint32 channel mask.

  • Parameters

    • channels: number[]

    Returns number