Hi Jean-Marc>> I tested it on Windows Mobile 5.0 PocketPC platform with several >> different applications (duplex voice capturing/encoding/decoding/playback). >> If I use any recent libspeex version >=13186, application exits in 2-3 >> seconds after I stop to talk :(. >> > by exit, you mean segfault (or whatever the Windows equivalent is), a > division by zero, or something else? Do you have the line number by any > chance? Also, if you have a file that can reproduce the problem with > speexdec (I assumer it's the decoder that crashes), that would help a lot. > >It accessed wrong memory location, I think. I can send you complete VS2005 project that I use to test, if it can help.>> But if I talk continuously (without long pauses), application works and >> I hear my own voice passed through speex. >> Perhaps this info will help you to find out the bug. >> > Sounds like you have VAD/VBR enabled, is that correct?Yes, I use both VAD and VBR See you, Oleg
Hi Oleg, Turns out the problem was only triggered with DTX on. I just committed a fix in svn/git. Let me know if it works for you now. Thanks again for reporting the bug. Jean-Marc Oleg Homenko a ?crit :> Hi Jean-Marc >>> I tested it on Windows Mobile 5.0 PocketPC platform with several >>> different applications (duplex voice >>> capturing/encoding/decoding/playback). >>> If I use any recent libspeex version >=13186, application exits in 2-3 >>> seconds after I stop to talk :(. >>> >> by exit, you mean segfault (or whatever the Windows equivalent is), a >> division by zero, or something else? Do you have the line number by any >> chance? Also, if you have a file that can reproduce the problem with >> speexdec (I assumer it's the decoder that crashes), that would help a >> lot. >> >> > It accessed wrong memory location, I think. > I can send you complete VS2005 project that I use to test, if it can help. >>> But if I talk continuously (without long pauses), application works and >>> I hear my own voice passed through speex. >>> Perhaps this info will help you to find out the bug. >>> >> Sounds like you have VAD/VBR enabled, is that correct? > Yes, I use both VAD and VBR > > See you, > Oleg > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
Jean-Marc Valin wrote on 8/20/2007 3:48 PM:> Hi Oleg, > > Turns out the problem was only triggered with DTX on. I just committed a > fix in svn/git. Let me know if it works for you now. > > Thanks again for reporting the bug. > > Jean-Marc >Thank you, problem is gone now! Oleg PS. I just finished math_approx.asm (speed optimized version for ARM). The code can be compiled using armasm utility that comes with VS2005. Math functions work up to 2...2.5 times faster now. Are you interested in adding it to the project? Also, have you made some profiling on the project? I mean do you know any bottle necks that can be speed-optimized a bit (both encoder and decoder)