G.711 (u-law) Audio Encoding

G.711 is a narrowband telephony audio codec that represents 8 kHz speech as 8-bit companded PCM. The u-law variant is commonly used in North America and Japan.

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