rmsi[*nout - 1] = logf(s->rmso) + prop*(logf(*rms) - logf(s->rmso));
i don't know exactly the problem but it worked with:
f1 = logf(*rms);
f2 = f1 - logf(s->rmso);
f1 = prop * f2;
f2 = logf(s->rmso);
rmsi[*nout - 1] = f2 + f1;
hope this helps,
Thomas
_______________________________________________sry i forgot: i updated to rev. 8165
Von: Sluschny, Thomas
Gesendet: Dienstag, 22. April 2008 11:42
An: 'freeswitch-dev@lists.freeswitch.org'
Betreff: AW: [Freeswitch-dev] lock unlock in PortAudioI updated complete, but errors still exists, here my complete output:Fehler 1 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\pthreads-w32-2-7-0-release" konnte nicht gelöscht werden.
Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download PTHREAD
Fehler 2 error LNK2001: unresolved external symbol _switch_inet_pton switch_core.obj
Fehler 3 error LNK2001: unresolved external symbol _switch_inet_pton switch_utils.obj
Fehler 4 fatal error LNK1120: 1 unresolved externals D:\download\svn-win32-1.4.5\bin\freeswitch1.0\Release\FreeSwitch.dll
Fehler 5 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\howl-1.0.0" konnte nicht gelöscht werden.
Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download HOWL
Warnung 6 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 180
Warnung 7 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 195
Warnung 8 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 224
Warnung 9 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 230
Warnung 10 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 69
Fehler 11 error C2143: syntax error : missing ')' before ';' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447
Warnung 12 warning C4552: '*' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447
Warnung 13 warning C4552: '-' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447
Fehler 14 error C2059: syntax error : ')' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447
Warnung 15 warning C4718: 'burnStack' : recursive call has no side effects, deleting d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\libdingaling\src\sha1.c 542
Fehler 16 fatal error LNK1181: cannot open input file '..\..\..\..\release\libvoipcodecs.lib' mod_voipcodecsTo prevent Fehler (error) 11 and 14 i created some helper variables as i mentioned before.Thomas
I fixed the inet_pton and a few other windows build issues. Please report back if you have any other modules not building right with current trunk.
Von: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] Im Auftrag von Michael Jerris
Gesendet: Montag, 21. April 2008 16:37
An: freeswitch-dev@lists.freeswitch.org
Betreff: Re: [Freeswitch-dev] lock unlock in PortAudioMike
On Apr 21, 2008, at 9:48 AM, Anthony Minessale wrote:
please try rev 8130
On Mon, Apr 21, 2008 at 7:47 AM, Sluschny, Thomas <Thomas.Sluschny@siemens.com> wrote:
Hi all,i use a very old version of freeswitch so i decided to give the version 1.0.pre4 (8124M) a try.I use WinXP and VS2005 Prof.At first a had to cope with some compile errors:1. inet_pton() was not defined, i use Curl_inet_pton() for that now, but what is the "official" way2. some lpc10_decode errors, where i had to define some helper variablesAnd now my problem:i make a call from portaudio to a sip device, 1st call is ok,BUT if i do the same call again i hang in mod_PortAudio.c in line 1141:switch_mutex_lock(globals.device_lock);
So it seams that someone doesnt unlock it :(
Anybody else have seen this problem? Has it to do with the compile error?
Thanx in advance,
Thomas Sluschny
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400 _______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org