[asterisk-dev] Changing channel writeformat in ast_openstream_full

Kevin P. Fleming kpfleming at digium.com
Thu Jun 28 14:14:03 CDT 2007

Mihai Balea wrote:

> Wouldn't this information be encoded in the frame subclass?
> The way I understand it, channel->writeformat is the format that comes
> out of the channel and gets to the wire...

Nope... chan->writeformat is the format that the channel is currently
setup to expect, and possibly to translate before sending out to the
device. chan->rawwriteformat is the format the device expects.

Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

More information about the asterisk-dev mailing list