alpha_logic
Active Member
- Joined
- Aug 16, 2021
- Messages
- 136
- Likes
- 246
- Thread Starter
- #21
Very interesting read! I was not aware of the 24-bit mantissa in a F32. Most new video games played on Proton, outputs the raw F32 from the sound engine to Pipewire. Does this mean that whenever or not this is converted to S32 or S24, it will be bit-perfect?
Good question. "Bit-perfect" strictly means the bits are unchanged from source to DAC. Since F32 and S24/S32 are different encodings, the term doesn't directly apply to a format conversion — the bits will be different by definition.
What you can say is that the conversion is precision-preserving — no information is lost:
- F32 → S24: F32 has a 24-bit mantissa. S24 has 24 bits of integer range. The conversion captures all the precision F32 carries. Nothing is lost.
- F32 → S32: Same precision as above. F32 still only carries 24 bits of meaningful precision — the extra 8 bits in the S32 container add no information from the F32 source.
So for game audio originating in F32: the format conversion to your DAC's native integer format is lossless in terms of precision. The more important factors for audio quality are whether PipeWire is resampling the stream (e.g., 48kHz game output to a different system rate) and whether software volume is being applied — those are where actual signal modification occurs.



