Displaying 1 result from an estimated 1 matches for "transpath".
Did you mean:
transat
2004 Jun 30
3
Bugfix for CVS-HEAD-06/26/04-21:56:45
...INEAR frame that we need to
> translate, IF
> > // the channel doesn't support SLINEAR. Otherwise, we need to just
> > // write the SLINEAR frame.
> > if (!(chan->nativeformats & AST_FORMAT_SLINEAR)) {
> > struct ast_trans_pvt* transPath =
> ast_translator_build_path(chan->writeformat, AST_FORMAT_SLINEAR);
> > struct ast_frame* transFrame = ast_translate(transPath,
> &ps->f, 0);
> > if (transFrame) {
> > ast_write(chan, transFrame);
> >...