Files
mediabunny/docs/codec-registry/alaw.md
T

894 B

description
description
A-law companded PCM audio codec definition, defining legal codec strings, decoder configs, and packet data formats.
<script setup> import { VPBadge } from 'vitepress/theme' </script>

A-law PCM codec registration

Description

The A-law companded PCM audio codec, specified in ITU-T G.711 Tables 1a and 1b.

Codec ID

'alaw'

EncodedPacket data

The packet's data must be a sequence of bytes of arbitrary length (divisible by the channel count), where each byte is an A-law encoded PCM sample. For multichannel audio, samples from different channels are interleaved.

EncodedPacket type

The packet's type is always 'key'.

AudioDecoderConfig codec string

'alaw'

AudioDecoderConfig description

description is not used for this codec.