07-12-2021, 10:04 PM (This post was last modified: 07-12-2021, 10:05 PM by Supersurfer.)
In the attached settings you can see that Moode converts the 16bit data to 24 bit.
Using sox would be not needed if the native file bitrate would be used.
The TDA1541A needs 16bit data.
I use an USBridge signature streamer with fifopi q3 connected to a i2s to simultanous (pcm) data pcb and than to the dac.
It's prolly MPD's software volume DSP thats padding to 24-bit. IIRC it uses 32-bit float internally. SoX set to 16-bit won't have any effect because IIRC volume DSP happens last in the MPD chain.
What does Audio info list for "Formats" in the Audio device section?
You can set Mixer type to "Fixed (0dB)" in MPD Config and that would take the software volume DSP out of the chain and you should see 16 bit output but it's going to be outputting 100% volume level so you would need a downstream volume control otherwise risk blown speakers or other damage.
You could disconnect your DAC from the Amp/Speakers and test whether the "Fixed (0dB)" setting results in 16-bit output.
I checked the fixed volume and it uses the native bitdepth, so in this case 16bit output.
What happens when using software volume at 100% and output in 24bit into a 16bit dac? Will you lose resolution in this way?
@Supersurfer @Tim Curtis tested a solution where the output of MPD is forced to use 16bits.
Will send a PM with custom mpd conf solution when I'm back home.