03-24-2024, 10:36 AM
(This post was last modified: 03-24-2024, 10:37 AM by Tim Curtis.
Edit Reason: spelling
)
Your device reports that it only supports S24_3LE format (24 bit)
If ALSA output mode is set to "Default (plughw)", ALSA will zero-pad the bit depth to the width required by the audio device. This process preserves the original bits and thus maintains "bit-perfectness" of the samples.
In your case though you have ALSA output mode set to "Direct (hw)" which means that ALSA does not perform any format conversions whatsoever and thus the bit depth padding is happening upstream by MPD.
As I understand it MPD and ALSA actually negotiate the output format according to what the audio device requires and so it may be that if MPD sees that ALSA hw is specified (no format conversion) then MPD does the bit depth padding. The other possibility is that the bit depth padding is due to using MPD volume control (Software or Fixed) which IIRC is a 24 bit volume algorithm.
If your audio device supports Hardware volume i.e., has on-chip volume controller then try setting Volume type to "Hardware". This bypasses MPD volume routine. MPD volume is also bypassed when using CamillaDSP volume.
If ALSA output mode is set to "Default (plughw)", ALSA will zero-pad the bit depth to the width required by the audio device. This process preserves the original bits and thus maintains "bit-perfectness" of the samples.
In your case though you have ALSA output mode set to "Direct (hw)" which means that ALSA does not perform any format conversions whatsoever and thus the bit depth padding is happening upstream by MPD.
As I understand it MPD and ALSA actually negotiate the output format according to what the audio device requires and so it may be that if MPD sees that ALSA hw is specified (no format conversion) then MPD does the bit depth padding. The other possibility is that the bit depth padding is due to using MPD volume control (Software or Fixed) which IIRC is a 24 bit volume algorithm.
If your audio device supports Hardware volume i.e., has on-chip volume controller then try setting Volume type to "Hardware". This bypasses MPD volume routine. MPD volume is also bypassed when using CamillaDSP volume.