quick question about volume and PJSUA-LIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux