Lines Matching refs:chmaps
72 snd_pcm_chmap_query_t **chmaps, in cras_chmap_caps_match() argument
80 for (chmap = chmaps; *chmap; chmap++) { in cras_chmap_caps_match()
101 for (chmap = chmaps; *chmap; chmap++) { in cras_chmap_caps_match()
155 snd_pcm_chmap_query_t **chmaps, in cras_chmap_caps_conv_matrix() argument
166 for (chmap = chmaps; *chmap; chmap++) { in cras_chmap_caps_conv_matrix()
201 snd_pcm_chmap_query_t **chmaps, in cras_chmap_caps_best() argument
207 match = cras_chmap_caps_match(chmaps, fmt); in cras_chmap_caps_best()
211 match = cras_chmap_caps_conv_matrix(chmaps, fmt); in cras_chmap_caps_best()
220 for (chmap = chmaps; *chmap; chmap++) in cras_chmap_caps_best()
309 snd_pcm_chmap_query_t **chmaps; in cras_alsa_set_channel_map() local
315 chmaps = snd_pcm_query_chmaps(handle); in cras_alsa_set_channel_map()
316 if (chmaps == NULL) { in cras_alsa_set_channel_map()
321 match = cras_chmap_caps_best(handle, chmaps, fmt); in cras_alsa_set_channel_map()
342 snd_pcm_free_chmaps(chmaps); in cras_alsa_set_channel_map()
349 snd_pcm_chmap_query_t **chmaps; in cras_alsa_get_channel_map() local
354 chmaps = snd_pcm_query_chmaps(handle); in cras_alsa_get_channel_map()
355 if (chmaps == NULL) { in cras_alsa_get_channel_map()
360 match = cras_chmap_caps_best(handle, chmaps, fmt); in cras_alsa_get_channel_map()
382 snd_pcm_free_chmaps(chmaps); in cras_alsa_get_channel_map()