From 02e9d7c3e6d10bf67ee97215a0b1114d256b3ada Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 16 May 2003 14:36:26 +0000 Subject: [PATCH] - fixed the routing with use_getput condition. use_getput will be changed after loading the ttable, so the conversion function cannot be determined at this stage. --- src/pcm/pcm_route.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c index 72faae07..b7ecbc2c 100644 --- a/src/pcm/pcm_route.c +++ b/src/pcm/pcm_route.c @@ -792,12 +792,7 @@ static int route_load_ttable(snd_pcm_route_params_t *params, snd_pcm_stream_t st 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)); -- 2.47.1