  for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) {   if (channels == channel_allocations[i].channels &&       (spk_mask & channel_allocations[i].spk_mask) ==     channel_allocations[i].spk_mask) 