This web page I found using Google contains some code for converting between G.711 mu-law and linear PCM. It's near the middle of the page - just search for "G.711". I'm sure there is also code somewhere you can find through Google to convert to/from a-law, and probably some better examples too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.