[asterisk-dev] Music on hold deafens in 1.4b3

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Nov 3 13:23:15 MST 2006


On Friday 03 November 2006 13:35, John Lange wrote:
> state->pos %= state->class->total_files;
>
> ----
>
> Isn't that just setting state->pos equal to the abs() number of files
> every time? I'm reading %= as modulus which is the absolute value
> correct?

Modulus == divide by, and take the remainder

-- 
Tilghman


More information about the asterisk-dev mailing list