G.711 (A-law) Audio Encoding

G.711 is a narrowband telephony audio codec that represents 8 kHz speech as 8-bit companded PCM. The A-law variant is commonly used in Europe and many international telephone networks.

This sample shows how to encode uncompressed audio to G.711 A-law output with Transcoder::run.