Summary: | ASTERISK-22758: [patch]Support for A-law and u-law WAV file format | ||
Reporter: | Michael Walton (mike@farsouthnet.com) | Labels: | patch |
Date Opened: | 2013-10-24 08:37:40 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Open/New | Components: | Formats/format_wav |
Versions: | SVN 13.18.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Any | Attachments: | ( 0) format_wav.c.r364580.xlaw.patch |
Description: | The WAV file formatter (format_wav) has never supported A-law or u-law encoded WAV files. This patch adds A-law and u-law WAV file read and write support to the format_wav module.
* Ideal for web and e-mail delivery of voice recordings, because it cuts down the recorded file size for e-mail or web delivery by 50% compared to 16-bit PCM WAV, with no discernible loss in quality. * The existing format_pcm can do u-law and A-law, but does not do WAV framing, making the files incompatible with most common media players. * The existing format_wav_gsm is commonly used for e-mail delivery, but we all know about GSM codec quality * Defines the following new format extensions: ** wava - A-law WAV ** wavu - u-law WAV ** wavs - 16-bit linear WAV The default .wav format after applying this patch is u-law (replacing 16-bit PCM), but the 16-bit PCM is retained as wavs | ||
Comments: | By: Michael Walton (mike@farsouthnet.com) 2013-10-24 08:39:23.422-0500 Patch for format_wav.c r364580 (svn HEAD) to add A-law and u-law capability |