[asterisk-dev] Setting write format to SLINEAR in chan_console not working
Ryan Conrad
rconrad54 at gmail.com
Mon Aug 12 12:06:52 CDT 2013
Hello,
I am trying to change the chan_console from doing 16khz to only 8khz,
and everything works except for the console_write function. This still
sends frames with 320 samples at 16khz, eventhough I do the below command
when I make a new one:
ast_format_set(ast_channel_writeformat(chan), AST_FORMAT_SLINEAR, 0);
What could be the problem? Or what other commands should I set to make
console_write send me correct frames in 8khz.
-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130812/abbe66bd/attachment.htm>
More information about the asterisk-dev
mailing list