[asterisk-dev] Building codec_gsm against Spandsp
Philip Prindeville
philipp_subx at redfish-solutions.com
Wed Jul 21 12:34:28 CDT 2010
On 2/3/10 6:52 PM, Steve Underwood wrote:
> On 02/04/2010 08:17 AM, Tzafrir Cohen wrote:
>> On Wed, Feb 03, 2010 at 03:53:00PM -0800, Philip A. Prindeville wrote:
>>
>>> Does anyone have patches (or otherwise know what would be involved) to
>>> build Asterisk's codec_gsm against the Spandsp library?
>>>
>> Why would you want that?
>>
> The libgsm with some distributions is quite slow, and some won't pass
> the test vectors, so there are good reasons to choose an alternative. I
> think the Asterisk one actually fails a couple of the test vectors, but
> its close to correct.
>> libgsm is a separate library. Most distributions include it nowadays.
>> Asterisk can either use its internal copy or the system copy of it.
>>
> I know people were in denial for ages, blaming GCC for being faulty, but
> I thought the GSM codec in the Asterisk was eventually fixed. The
> problem is just an error in embedded assembly language code, where the
> better optimiser in GCC 4.2 made there error show up for the first time.
Do you remember what the bug # was? We need to reopen this bug... At the very least, it can't be too difficult to through in a pragma to cause GCC to not optimize and rewrite the code, yes?
BTW: I still like the idea of patching Asterisk to allow it to build --with-spandsp much more.
-Philip
>>> We have problems with using GCC 4.2 with Asterisk because of issues in
>>> the codec.
>>>
>> Which Linux distribution do you use?
>>
> Steve
>
>
>
More information about the asterisk-dev
mailing list