Your rig deserves a home. Catalog your gear and get your own A-number. Free, always.

Bluetooth codecs, file formats and hi-res audio

Bluetooth headphones receive compressed audio through a codec: AAC on iPhones, aptX or LDAC on many Android phones, and CD quality arrives intact only over a lossless codec such as aptX Lossless with a strong link. Files and streams are PCM, described by sample rate and bit depth: 16-bit/44.1 kHz is CD quality, anything above it is usually sold as hi-res, and FLAC stores either without loss. Whether hi-res is audible is disputed; whether a chain is bit-perfect can be checked.

17 terms Updated

05001,0001,500kbpsSBC328AAC256aptX352aptX Adaptive280–420aptX HD576LDAC330 / 660 / 990aptX Lossless~1,100FLAC (CD)~700–1,000CD PCM1,411
Commonly quoted Bluetooth codec bitrates (at 44.1 or 48 kHz) against CD audio: SBC up to 328 kbps, AAC about 256, aptX 352, aptX Adaptive about 280 to 420, aptX HD 576 and LDAC up to 990. Only aptX Lossless, at about 1,100 kbps, can carry CD-quality audio intact when the link holds; uncompressed CD PCM is 1,411 kbps.

Bluetooth codecs

Every Bluetooth headphone receives compressed music, and the codec decides how much is thrown away. The phone and headphone use the best codec they both support, so the phone has as much say as the headphone.

Bluetooth
Bluetooth is the short-range radio link that wireless headphones, earbuds and speakers use to receive audio from a phone or computer. The audio is compressed on the way by a codec, so Bluetooth is convenient rather than lossless.
SBC is the codec every Bluetooth audio device must support, so when a phone and headphone share nothing better, SBC is what you hear.
AAC
AAC, Advanced Audio Coding, is the lossy compression format used by Apple Music and iTunes downloads, and the preferred Bluetooth codec on iPhones. At 256 kbps most listeners cannot tell it from lossless in blind tests.
On an iPhone it is the best codec on offer, so an aptX or LDAC logo on a headphone box changes nothing for iPhone owners.
aptX
aptX is a family of Bluetooth audio codecs from Qualcomm, found on most Android phones and many headphones but not on iPhones. aptX HD and aptX Adaptive raise the bitrate and quality; aptX Lossless claims to deliver CD-quality audio bit for bit when conditions allow.
The name covers several codecs with different rates and behaviors, so a box that only says aptX tells you less than one that names the version, such as Adaptive or Lossless.
LDAC
LDAC is Sony’s high-bitrate Bluetooth codec, sending up to 990 kilobits per second, about three times what standard codecs manage. At its top setting it carries close to CD-quality audio, though it is still lossy and drops to lower rates when the connection is poor.
The 990 kbps on the box is a ceiling; Android’s default LDAC setting, Best effort, adapts to the link and often runs below it, and developer options can fix the rate.
Bluetooth codecs and lossless formats compared
Codec or formatBitrateLosslessWhere supported
SBCUp to 328 kbpsNoEvery Bluetooth audio device, as the fallback
AACAbout 256 kbps over BluetoothNoiPhones and most headphones; encoder quality varies on Android
aptX family352 kbps (aptX), about 280 to 420 (Adaptive), 576 (HD), about 1,100 (Lossless)Only aptX Lossless, at CD quality with a strong linkMany Android phones and headphones; not iPhones
LDAC330, 660 or 990 kbpsNoAndroid 8.0 and later and many headphones; not iPhones, and not Windows or macOS without add-ons
FLAC (CD quality)About 700 to 1,000 kbps, depending on the musicYesWired, USB and network playback; lossless streaming services
CD-quality PCM1,411 kbpsYesCDs and WAV files; the reference the others are compared with

Sample rate and bit depth

Nearly every format stores audio the same way: as numbers sampled at a fixed rate with a fixed number of bits. Two figures describe the result, and most streaming services call anything above CD quality “hi-res”.

PCM
PCM, pulse-code modulation, is the standard way of representing digital audio: the waveform is measured many thousand times a second and each measurement stored as a number. CDs, WAV and FLAC files and nearly all streams are PCM.
When a DAC spec sheet lists PCM support up to 32-bit/768 kHz, that is the highest rate it accepts; music released above 24-bit/192 kHz is rare outside specialist download stores.
Sample rate
Sample rate is how many times per second a digital system measures the audio waveform: 44,100 for a CD, 48,000 for video, 96,000 or 192,000 for hi-res files. It sets the highest frequency the format can carry, at just under half the rate.
Many streaming apps show it for each track, as 44.1, 48 or 96 kHz; a DAC display showing a different figure usually means something along the way is resampling.
Bit depth
Bit depth is how many bits describe each audio sample: 16 bits for a CD, 24 bits for most hi-res files. More bits lower the noise floor of the digital format, giving a wider dynamic range, rather than adding detail to the music.
It is the first number in labels such as 24/96; hi-res downloads are almost always 24-bit, and CD-quality streams 16-bit.
16-bit/44.1 kHz
16-bit/44.1 kHz is the resolution of the compact disc: each sample has 16 bits of depth and there are 44,100 samples per second per channel. It is the baseline most streaming services call "lossless" or "CD quality".
Streaming apps label it CD quality, Lossless or, on Amazon, HD; it is the baseline every lossless service offers, with hi-res versions available for only part of each catalog.
24-bit/192 kHz
24-bit/192 kHz describes audio sampled 192,000 times per second with 24 bits per sample. It is the highest of the common "hi-res" formats, with far more headroom than a CD, though whether that is audible is debated; 24-bit/96 kHz is more common.
When a service lists an album at this rate, check the route as well as the DAC: AirPlay 2, Bluetooth and an iPhone’s own output all reduce it before it is heard.

File formats

A format decides whether anything is thrown away before playback. Lossless formats return the original exactly and lossy ones trade data for size, while DSD and MQA are specialist routes with arguments of their own.

Lossless
Lossless audio is a file or stream that reproduces the original digital recording exactly, with no data discarded, unlike lossy formats such as MP3 and AAC. Any PCM audio stored in FLAC, ALAC or WAV without data removed is lossless, whatever its resolution.
It describes what was kept, not how good the recording is, so a lossless file of a heavily compressed master can sound worse than a lossy file of a better one.
FLAC
FLAC, the Free Lossless Audio Codec, compresses PCM audio to roughly half its size without losing anything: decoded, it is bit-for-bit the original. It is the standard format for lossless downloads, CD rips and most lossless streaming.
Ripping CDs to FLAC is the safe archive choice: it converts later to AAC for a phone, or with nothing lost to ALAC for Apple’s Music app.
DSD
DSD, Direct Stream Digital, stores audio as a one-bit stream at a very high rate, 2.8 MHz for the DSD64 used on SACD, rather than as multi-bit PCM samples. It is a niche format for downloads and SACD discs, supported by many DACs.
Files ending in .dsf or .dff are DSD; played as DSD, they need a DAC that lists DSD support, usually as DSD64 and up, and a player able to send it.
MQA
MQA, Master Quality Authenticated, is a proprietary format that folds high-resolution audio into a file at CD-like sample rates, to be unpacked by a licensed decoder. TIDAL used it for hi-res streaming until 2024, and its developer entered administration in 2023.
Older DACs and streamers still carry MQA badges, but with TIDAL’s move to FLAC in 2024 there is little MQA music to play, so treat the badge as neutral when buying secondhand.

Network playback

Once a file is lossless, the question is whether it reaches the DAC unchanged. Over a home network there are three common routes, and they differ in where the music comes from: the phone, the service or your own server.

Bit-perfect
Bit-perfect playback means the audio data reaches the DAC exactly as stored in the file, with no resampling, mixing or volume processing by the computer along the way. It is the software side of keeping a lossless chain lossless.
It is the test for every route in this group: a network link can carry lossless audio and still fail it if the sending device resamples or re-encodes on the way.
AirPlay
AirPlay is Apple’s system for sending audio and video over a home Wi-Fi or Ethernet network from an iPhone, iPad, Mac or Apple TV to a speaker, receiver or streamer. AirPlay 2, released in 2018, added multi-room playback.
It works with any app on an iPhone, but every stream passes through the phone and stops at 48 kHz, so hi-res listeners usually prefer a streamer’s own app.
Chromecast
Chromecast is Google’s casting system, built on the Google Cast protocol: a phone tells a speaker or streamer what to play, and the receiver fetches the stream from the service itself. Chromecast Audio, a small receiver for hi-fi systems, was discontinued in 2019.
Only apps with a cast button can use it, screen mirroring aside, which is the practical trade against AirPlay; in return, once playback starts, the phone is only a remote.
UPnP and DLNA
UPnP is a set of network standards that lets devices find each other and share media; DLNA was the industry group that certified products using them. Together they let a streamer or app play music files stored on a computer or NAS in your home.
It is the route for a library you own, stored on a NAS or computer, where AirPlay and casting are built around phones and streaming services.

Guides that go further

Other topics