|
|
@ -217,9 +217,9 @@ static struct agent_pvt *agents = NULL; /**< Holds the list of agents (loaded f
|
|
|
|
ast_set_read_format(ast, ast->readformat); \
|
|
|
|
ast_set_read_format(ast, ast->readformat); \
|
|
|
|
ast_set_write_format(ast, ast->writeformat); \
|
|
|
|
ast_set_write_format(ast, ast->writeformat); \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
if (p->chan->readformat != ast->rawreadformat) \
|
|
|
|
if (p->chan->readformat != ast->rawreadformat && !p->chan->generator) \
|
|
|
|
ast_set_read_format(p->chan, ast->rawreadformat); \
|
|
|
|
ast_set_read_format(p->chan, ast->rawreadformat); \
|
|
|
|
if (p->chan->writeformat != ast->rawwriteformat) \
|
|
|
|
if (p->chan->writeformat != ast->rawwriteformat && !p->chan->generator) \
|
|
|
|
ast_set_write_format(p->chan, ast->rawwriteformat); \
|
|
|
|
ast_set_write_format(p->chan, ast->rawwriteformat); \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
} while(0)
|
|
|
|
} while(0)
|
|
|
|