type conversion - How to convert u-law and a-law encoded wav files to pcm wav file in c program? -


i want convert a-law & u-law wav files pcm wav file in c program. how do ? sox c libraries useful ? please help.

follow these steps:

  1. search audio library
  2. get documentation library
  3. search terms u-law , a-law
  4. if can't find meaningful go step 1.
  5. use library in code according documentation

edit

if follow these steps sox library you'll find line

ul indicates μ-law (8-bit), al indicates a-law

which strong hint these formats supported sox


Comments