quick question about volume and PJSUA-LIB

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

 



On Tue, Mar 10, 2009 at 6:40 PM, C R McClenaghan <chris at mcclenaghan.com>wrote:

> Benny,
> Based on the sample application, I was experimenting with separate volume
> control over the "bridge" versus over any attached "leg". I have modified
> the sample application so I can set volume on any attached port as well as
> port 0. In doing this I've found that I cannot  manage the volume in the
> expected fashion. Applying 2.0 should double, applying 0.5 should halve.
> However,  it appears that these or more absolute than relative. Repeated
> application of 0.5 does not reduce the volume on the second and subsequent
> applications - the volume remains the same. I had expected to eventually get
> an effective mute.
>
>
I see.


> The discussion with Jim lead to an absolute range of 0 to 255 and controls
> that reflected that. The remainder of the discussion had to do with min/max
> as macros and linker problems I had using them on the Mac.
>
> So, questions: Is the intent of pjmedia_conf_adjust_tx_level
> and pjmedia_conf_adjust_rx_level to provide relative volume control or
> absolute? Is this possibly dependent on the underlying hardware?
>
>
It was absolute indeed. And no there's no hardware involved, unlike the
(brand new :) ) audio device volume control that will be introduced in the
trunk.

cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090312/fa061d93/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