dect
/
asterisk
Archived
13
0
Fork 0

This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47995 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
murf 2006-11-24 17:40:49 +00:00
parent 5a2011b9d7
commit ca7e77d4ef
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ static int framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
}
l = plc_fillin(pvt->plc, dst + pvt->samples, l);
pvt->samples += l;
pvt->datalen = pvt->samples * 2; /* SLIN has 2bytes for 1sample */
}
return 0;
}