C kerdes

Moczik Gabor pm at progzmaster.hu
Sun Nov 13 14:39:28 CET 2005


VFX wrote:
> nSlots = framesize - ((h_mode == single_channel) ? 17 : 32) - 
> (h_protection_bit ? 0 : 2) - 4;

h_mode          h_protection_bit   eredmeny
single_channel  non-zero           framesize - 17 - 0 - 4
single_channel  zero               framesize - 17 - 2 - 4
egyeb           non-zero           framesize - 32 - 0 - 4
egyeb           zero               framesize - 32 - 2 - 4

> Konkretan ezt: ((h_mode == single_channel) ? 17 : 32)
> 
> h_mode azonos, akkor 17 ha nem akkor 32-t von le???

Ha h_mode azonos a single_channel-el, akkor a kifejezes erteke 17, egyebkent 32.

-- 
((( Móczik Gábor  )))--((( progzmaster -> @ -> freemail . hu  )))
((( Skype: moczik )))--((( Website: http://www.progzmaster.hu )))




More information about the Elektro mailing list