[Asterisk-Dev] MS-ADPCM in format_wav?

Brian West brian at bkw.org
Wed Feb 2 08:24:21 MST 2005


How close is format_adpcm to what he needs?  I know its like the intel blah 
blah something standard... (just woke up can't really recall the exact 
terms)

bkw

----- Original Message ----- 
From: "Steven Critchfield" <critch at basesys.com>
To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
Sent: Wednesday, February 02, 2005 9:44 AM
Subject: Re: [Asterisk-Dev] MS-ADPCM in format_wav?


> On Wed, 2005-02-02 at 11:02 +0000, Tony Mountifield wrote:
>> Does anyone know if there has been any work done on enhancing format_wav
>> to support MS-ADPCM format (fmt codec type 2)?
>>
>> If not, I may consider having a go myself, but I don't want to re-invent
>> the wheel unnecessarily.
>
> You wouldn't modify format_wav under the current method. You can copy it
> to format_wav2 to mimic the way GSM wav files are handled by
> format_wav49. Then you only need to modify the seek function, and the
> header creation/update. After that, you just need to make sure the codec
> is set to adpcm so your incoming frames are already in the right format.
> -- 
> Steven Critchfield <critch at basesys.com>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev 




More information about the asterisk-dev mailing list