Searched refs:chmap (Results 1 – 1 of 1) sorted by relevance
77 snd_pcm_chmap_query_t **chmap; in cras_chmap_caps_match() local80 for (chmap = chmaps; *chmap; chmap++) { in cras_chmap_caps_match()81 if ((*chmap)->map.channels != fmt->num_channels) in cras_chmap_caps_match()89 if ((unsigned)idx >= (*chmap)->map.channels) in cras_chmap_caps_match()91 if ((*chmap)->map.pos[idx] != CH_TO_ALSA(ch)) { in cras_chmap_caps_match()97 return *chmap; in cras_chmap_caps_match()101 for (chmap = chmaps; *chmap; chmap++) { in cras_chmap_caps_match()102 if ((*chmap)->type == SND_CHMAP_TYPE_FIXED || in cras_chmap_caps_match()103 (*chmap)->map.channels != fmt->num_channels) in cras_chmap_caps_match()113 if ((*chmap)->map.pos[i] == CH_TO_ALSA(ch)) { in cras_chmap_caps_match()[all …]