On Fri, 2003-03-14 at 14:44, John Vozza wrote:
> Thanks for the feedback but I'm still lost on this one.... (Forgive my
> ignorance please)
> 
> I don't understand how "#define AST_FORMAT_ADPCM        (1 << 5)" becomes
> a "format =  32" in the * console display.

1 << 5

means to shift 1, 5 bits to the left.
In binary 1 is 00000001
Shifted 5 bits left you get 00100000
That leaves the 1 in the 32 spot, therefore it becomes a 32.

Hope this helps. 
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to