why conf->ports[0]->rx_level always is 36, 37 when no voice signal

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

 



Dear all,

I test confsample, connect port 0 to port confrecord.wav, when I monitor
port 0's rx_level, I find the value always is 36 or 37 even I do not speak
to my micphone, I expect the value should be 0. Who can tell me why this
happened?




On Tue, Apr 12, 2011 at 10:11 AM, <pjsip-request at lists.pjsip.org> wrote:

> Send pjsip mailing list submissions to
>        pjsip at lists.pjsip.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> or, via email, send a message with subject or body 'help' to
>        pjsip-request at lists.pjsip.org
>
> You can reach the person managing the list at
>        pjsip-owner at lists.pjsip.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pjsip digest..."
>
>
> Today's Topics:
>
>   1. Re: Not able to compile on OSX (Rafael Rodriguez)
>   2. Re: Not able to compile on OSX (Fabian Bernhard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Apr 2011 08:50:18 -0500 (CDT)
> From: Rafael Rodriguez <rrodriguezc@xxxxxxxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Not able to compile on OSX
> Message-ID:
>        <1559190460.346589.1302616218419.JavaMail.root at mail.dextratech.com>
> Content-Type: text/plain; charset="utf-8"
>
> Check the makefiles
> In many files (third party mostly) in the realclean section there is a
> consisten error, for example for libgsmcodec... when you do a clean it tries
> to delete ilbc
> that's why it crashes. There are a lot of errors like this one. See the
> attached diff.
>
> third_party/build/gsm/Makefile
> realclean:
> - $(subst @@,$(subst /,$(HOST_PSEP), .ilbc
> -$(TARGET_NAME).depend),$(HOST_RMR))
> + $(subst @@,$(subst /,$(HOST_PSEP), .libgsmcodec
> -$(TARGET_NAME).depend),$(HOST_RMR))
>
> Hope this helps
>
>
>
> From: "Fabian Bernhard" <fbernhard@xxxxxxxxx>
> To: "pjsip list" <pjsip at lists.pjsip.org>
> Sent: Tuesday, April 12, 2011 3:48:02 AM
> Subject: Re: Not able to compile on OSX
>
>
> Hello!
>
>
> On Tue, Apr 12, 2011 at 9:35 AM, Tony Million < tony at bababoo.com > wrote:
>
>
>
> cd to your pjsip dir and execute
>
>
>
> rm `find . -name "*.depend"`
>
>
>
>
> then you can do
>
>
> make clean
> make dep
> make
>
>
>
>
>
> fabian at orion-2:/opt/pjproject$ rm `find . -name "*.depend"`
> fabian at orion-2:/opt/pjproject$ make clean
>
>
> [...]
>
>
> -> all fine till now, but then:
>
>
>
> fabian at orion-2:/opt/pjproject$ make dep
>
>
> gives me lots of strange outputs. Since it is a rather long output, I've
> posted it to pastebin:
>
>
> http://pastebin.com/bY5gYyhB
>
>
> (Let me know if you prefer to have them in the email directly)
>
>
> "make" then fails with the same errors. May be build environment wrong? Why
> would the pjsip compilation terminate?
>
>
> Thanks a lot!
>
>
> Fabian
>
>
>
>
>
>
>
>
>
>
> On 12 Apr 2011, at 08:24, Fabian Bernhard wrote:
>
>
> Hello Jorge
>
>
>
>
>
>
>
> Could you try doing "make clean all" ? It deletes all the *.o .
>
>
>
>
> Even "make clean all" gives me an error:
>
>
> fabian at orion-2:/opt/pjproject$ make clean all
> for dir in pjlib/build pjlib-util/build pjnath/build third_party/build
> pjmedia/build pjsip/build pjsip-apps/build ; do \
> if make -C $dir clean; then \
> true; \
> else \
> exit 1; \
> fi; \
> done
> make -f /opt/pjproject/build/rules.mak APP=PJLIB app=pjlib clean
> rm -rf output/pjlib-i386-apple-darwin10.7.0/*
> rm -rf output/pjlib-i386-apple-darwin10.7.0
> make -f /opt/pjproject/build/rules.mak APP=TEST app=pjlib-test clean
> rm -rf output/pjlib-test-i386-apple-darwin10.7.0/*
> rm -rf output/pjlib-test-i386-apple-darwin10.7.0
> make -f /opt/pjproject/build/rules.mak APP=PJLIB_UTIL app=pjlib-util clean
> .pjlib-util-i386-apple-darwin10.7.0.depend:1: *** missing separator. Stop.
> make[1]: *** [clean] Error 2
> make: *** [clean] Error 1
>
>
> And then "make dep" and after "make".
>
>
>
>
> [snip]
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/1a6f225c/attachment-0001.html
> >
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: pjsip_third_party_makefile.diff.txt
> URL: <
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/1a6f225c/attachment-0001.txt
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Apr 2011 17:12:44 +0200
> From: Fabian Bernhard <fbernhard@xxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Not able to compile on OSX
> Message-ID: <BANLkTik2cO4BQyy4Sr9wDNwje8Mxe5JNzQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear all
>
> Using gmake from macport allowed me to compile, the patch to clean, but I'm
> still not able to build universal binaries:
>
> fabian at orion-2:/opt/pjproject$ cat user.mak
> # You can create user.mak file in PJ root directory to specify
> # additional flags to compiler and linker. For example:
> export CFLAGS += -Wno-unused-label -Werror -O2 -arch i386 -arch x86_64
>
> This results in the same errors as reported earlier.
>
>
> > http://pastebin.com/bY5gYyhB
> >
> >
> I have played around with various CFLAGS but always end up with the same
> errors if I specify more than one -arch param.
>
> Thanks a lot!
>
> Fabian
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/4561aba1/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> End of pjsip Digest, Vol 44, Issue 16
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/67195ad7/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