ljudcodec
ljudcodec, or audio codec, is a software algorithm or hardware module that encodes and decodes digital audio data. Its job is to compress audio for storage or transmission and to reconstruct it for playback. Codecs can be lossless (e.g., FLAC, ALAC, WAV PCM) or lossy (e.g., MP3, AAC, Ogg Vorbis, Opus). Lossless codecs preserve the exact original signal, while lossy codecs discard some information to reduce bitrate.
Encoding typically involves transforming the input signal into a more compact representation using techniques such as
Common usage includes streaming services, digital music players, video compression pipelines, and real-time communications. Latency and
Many codecs are standardized or patented. MP3 and AAC are widely used but subject to licensing royalties.
Sampling rates and bit depths vary, but typical consumer scenarios use 44.1 or 48 kHz with 16-24