[Asterisk-Users] Codec Formats

Mark Spencer markster at digium.com
Fri Mar 14 15:56:51 MST 2003


> I don't understand how "#define AST_FORMAT_ADPCM        (1 << 5)" becomes
> a "format =  32" in the * console display.

1 shift left 5 == 2 to the power of 5 = 32.

Mark




More information about the asterisk-users mailing list