Not sure if I'm following this thread correctly, but yes there's no upper limit in the level value. If you give it 0.5, the volume will be halved, if you give it 2.0, it will be twice as loud, and so on. cheers Benny On Tue, Mar 10, 2009 at 4:04 PM, C R McClenaghan <chris at mcclenaghan.com>wrote: > All, > Careful readers will have noted the logic error in the statement below. It > should read: > > int newlevel = (0 < ((int) level < 255 ? (int) level : 255) ? (int) level : > 0); > ^ > ^ > > Chris > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090310/120ac54f/attachment.html>