Lines Matching defs:ttable
55 snd_pcm_route_ttable_entry_t *ttable;
66 free(plug->ttable);
380 snd_pcm_route_ttable_entry_t *ttable;
383 (!plug->ttable || !plug->ttable_last))
392 ttable = alloca(tt_cused * tt_sused * sizeof(*ttable));
393 if (plug->ttable) { /* expand or shrink table */
403 v = plug->ttable[c * plug->tt_ssize + s];
404 ttable[c * tt_ssize + s] = v;
414 ttable[k] = 0;
446 ttable[c * tt_ssize + s] = v;
460 ttable[c * tt_ssize + c] = SND_PCM_PLUGIN_ROUTE_FULL;
467 err = snd_pcm_route_open(new, NULL, slv->format, (int) slv->channels, ttable, tt_ssize, tt_cused, tt_sused, plug->gen.slave, plug->gen.slave != plug->req_slave);
666 /* it's exception, user specified ttable, but no reduction/expand */
667 if (plug->ttable && !plug->ttable_ok) {
1034 !plug->ttable &&
1106 snd_pcm_route_ttable_entry_t *ttable,
1126 plug->ttable = ttable;
1170 route_policy STR # route policy for automatic ttable generation
1176 ttable { # Transfer table (bi-dimensional compound of cchannels * schannels numbers)
1221 snd_pcm_route_ttable_entry_t *ttable = NULL;
1240 if (strcmp(id, "ttable") == 0) {
1294 ttable = malloc(csize * ssize * sizeof(*ttable));
1295 if (ttable == NULL) {
1299 err = snd_pcm_route_load_ttable(tt, ttable, csize, ssize, &cused, &sused, -1);
1317 route_policy, ttable, ssize, cused, sused, spcm, 1);