I want to convert a-law & u-law wav files to pcm wav file in c program. How do I do that ? Will sox c libraries be useful ? Please help.
Asked
Active
Viewed 1,095 times
1 Answers
0
Follow these steps:
- Search for an audio library
- Get Documentation for that library
- Search for the terms u-law and a-law
- If you can't find something meaningful go to step 1.
- Use this library in your code according to the documentation
EDIT
If you follow these steps for the SOX library you'll find the line
ul indicates μ-law (8-bit), al indicates A-law
which is a strong hint that these formats are supported by sox

DrKoch
- 9,556
- 2
- 34
- 43