Reference
Audio formats and rates
What Polylute can play, and what happens to a file’s rate, bit depth and channels on the way to the DAC.
On this page
In short
- Polylute plays FLAC with its own decoder, a list of other formats with bundled decoders, and anything else your phone’s own decoders can read.
- On USB Direct, the DAC is set to the file’s own sample rate. Polylute does not resample.
- A file’s bit depth is only ever widened to fit the DAC, never cut down. If the DAC cannot carry the file, Polylute does not use USB Direct for it and Android plays it instead.
- We measured 44.1/16, 48/24, 96/24 and 192/24 on one DAC. We did not test 384 kHz.
What Polylute can play
| Format | Decoder | Checked by us |
|---|---|---|
| FLAC | Polylute’s own FLAC decoder (libFLAC) | Yes, with the bit-perfect measurement |
| Bundled formats | A bundled FFmpeg decoder, which Polylute prefers for ALAC, MP3, AAC, AC-3, E-AC-3, DTS, MLP and TrueHD | Not individually |
| Everything else | Android’s own decoders read Opus and other formats your phone can decode | Not individually |
Whatever the format, Polylute decodes the file to raw audio first. For a lossy file such as MP3, that decoded audio is what travels to the DAC. “Bit-perfect” then means the decoded samples arrive unchanged: see What “bit-perfect” means here.
What reaches the DAC on USB Direct
| Property | What Polylute does |
|---|---|
| Sample rate | Sets the DAC to the file’s rate. No resampling. The rates you can use depend on the DAC. If it cannot play the file’s rate, USB Direct is not used for that file. |
| Bit depth | Sends 16-, 24- or 32-bit audio in a 16-, 24- or 32-bit container on the link. It widens a shallower file to fit; it never narrows a deeper one. Widening does not change the value of any sample. If the DAC has no container deep enough, USB Direct is not used for that file. |
| Mono | Sent as the same sample on both channels, an exact copy. |
| Stereo | Sent as it is. |
| More than two channels | Mixed down to stereo. A mixdown changes the samples by nature, so it is outside anything we measured. |
When USB Direct is not used for a file, you still hear it: Android plays it through its own USB route, and Polylute says why. Purity then shows the reason, such as this track cannot go to USB Direct. See Screens and statuses glossary.
Very high rates on the Android route
On the Android route, a file above 192 kHz is reduced with a high-quality filter by a whole-number factor until it is at or below 192 kHz (384 kHz becomes 192 kHz), because higher rates can be unreliable through Android on some phones. This never happens on USB Direct, where the DAC gets what the file has. Hi-res and the Android route explains why.
What we tested
| Combination | Status |
|---|---|
| 44.1 kHz, 16-bit | Measured, samples matched |
| 48 kHz, 24-bit | Measured, samples matched |
| 96 kHz, 24-bit | Measured, samples matched |
| 192 kHz, 24-bit | Measured, samples matched |
| 384 kHz | Not tested |
| Everything else | Not measured |
The details, and what the measurement does not cover, are in Supported hardware and what we tested.
For the curiousThe numbers
- 16-bit audio goes into a 32-bit slot by shifting left 16 places; 24-bit goes in by shifting left 8. The lower bits are zeros, and the DAC reads the same value.
- In Resonance, when Polylute has changed the audio it converts from floating point back to the container: 16-bit gets triangular dither; 24- and 32-bit get none.
- The mixdown puts the centre and the surrounds in at −3 dB and leaves the low-frequency channel out. Each output is scaled so that full-scale input cannot go over full scale.
- The Android-route reducer rejects at least 100 dB above its new Nyquist frequency and is flat to 0.001 dB up to 80 % of it.