use_getput will be changed after loading the ttable, so the conversion
function cannot be determined at this stage.
dptr->nsrcs = nsrcs;
if (nsrcs == 0)
dptr->func = snd_pcm_route_convert1_zero;
- else if (nsrcs == 1 && !att) {
- if (params->use_getput)
- dptr->func = snd_pcm_route_convert1_one_getput;
- else
- dptr->func = snd_pcm_route_convert1_one;
- } else
+ else
dptr->func = snd_pcm_route_convert1_many;
if (nsrcs > 0) {
dptr->srcs = calloc((unsigned int) nsrcs, sizeof(*srcs));