Lines Matching defs:chmaps
833 static int find_matching_chmap(snd_pcm_chmap_query_t **chmaps,
841 if (chmaps == NULL)
844 for (i = 0; chmaps[i]; i++) {
847 snd_pcm_chmap_t *c = &chmaps[i]->map;
1304 snd_pcm_chmap_query_t **chmaps = NULL;
1319 snd_pcm_free_chmaps(chmaps);
1326 chmaps = _snd_pcm_parse_config_chmaps(n);
1327 if (!chmaps) {
1338 snd_pcm_free_chmaps(chmaps);
1343 snd_pcm_free_chmaps(chmaps);
1350 snd_pcm_free_chmaps(chmaps);
1357 snd_pcm_free_chmaps(chmaps);
1372 snd_pcm_free_chmaps(chmaps);
1377 if (!chmaps)
1378 chmaps = snd_pcm_query_chmaps(spcm);
1379 if (chmaps)
1380 err = find_matching_chmap(chmaps, tt_chmap, &chmap,
1383 if (chmaps && err < 0) {
1384 snd_pcm_free_chmaps(chmaps);
1393 snd_pcm_free_chmaps(chmaps);
1400 snd_pcm_free_chmaps(chmaps);
1409 snd_pcm_free_chmaps(chmaps);
1421 snd_pcm_free_chmaps(chmaps);
1427 route->chmap_override = chmaps;