[Speex-dev] AEC on a TI C6x - has no effect

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Aug 15 22:47:43 PDT 2006


Jim Crichton wrote:
> For me, this was a memory allocation problem.  I am using a private
> heap, and somewhere between build 11522 and 11700, the allocation for
> two large buffers was changed from calloc to speex_alloc (I am sure that
> this was a cleanup change, and I have not had a chance to locate it
> yet).  This was overrunning my heap, and enlarging the heap solved the
> problem.

Indeed, I updated kiss_fft to use speex_alloc() instead of using
calloc(). What you should be happy about is that I just checked in some
changes that should reduce memory use by about 25% (depending on
configuration of course).

	Jean-Marc

> I suspect that Itay is having a similar problem.
> 
> - Jim
> 
> ----- Original Message ----- From: "Jean-Marc Valin"
> <jean-marc.valin at usherbrooke.ca>
> To: "Jim Crichton" <jim.crichton at comcast.net>
> Cc: "Itay Chamiel" <ItayC at mangodsp.com>; <speex-dev at xiph.org>
> Sent: Tuesday, August 15, 2006 9:26 AM
> Subject: Re: [Speex-dev] AEC on a TI C6x - has no effect
> 
> 
>> Jim Crichton a écrit :
>>> Itay,
>>>
>>> I tested on C6x in May with build 11343 and 11398, and it worked
>>> fine.  I just ran the same test with build 11768, and there was no
>>> cancellation, just as you saw.  I will try to track this down in the
>>> next day or two.  In the meantime, I suggest that you try testing
>>> with 11398.
>>
>> Hmm, that's odd because the fixed-point seems to work for me and usually
>> the problems show up with the C55, but not the C64. The only two changes
>> I made to the AEC since 11398 were 11750 and 11751. Can you tell me
>> which one is problematic?
>>
>> Thanks,
>>
>> Jean-Marc
>>
>>> - Jim ----- Original Message ----- From: Itay Chamiel To:
>>> speex-dev at xiph.org Sent: Monday, August 14, 2006 10:56 AM Subject:
>>> RE: [Speex-dev] AEC on a TI C6x - has no effect
>>>
>>>
>>> Thanks to a tip from Jean-Marc, I tried the floating point version
>>> and it worked well.
>>>
>>> If anyone has a clue as to why the fixed point version doesn't work,
>>> let me know as I would really appreciate the CPU time reduction (20%
>>> as opposed to 70%).
>>>
>>> Thanks,
>>>
>>> -itay
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>> _______________________________________________ Speex-dev mailing
>>> list Speex-dev at xiph.org
>>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________ Speex-dev mailing
>>> list Speex-dev at xiph.org
>>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>
> 
> 
> 


More information about the Speex-dev mailing list