01-09-2022, 05:48 PM
I have built a simple USB RGB LED indicator to show sample-rate and bit depth. It basically queries alsa for the playing soundcard and gets the info from hw_params (I used alsa rather than MPD as it also works for Spotify etc)
Works well except alsa indicates that all the CDs I ripped at 44100/16 are being played as 44100/24 so it would appear they are being upsampled (or more likely 16bit is simply being zero padded to 24bit). I had though this might be solved by switching from plughw to direct(hw) as that did refer to zero-padding the bit-depth. But this doesn't seem to make a difference.
No problem, obviously, but curious, is it possible to find the originating bit-depth? Be nice to get my indicator in-sync with the original source.
BTW - thanks for some fantastic software, a couple of months or so into using MoOde and still very impressed - simple but powerful!
Works well except alsa indicates that all the CDs I ripped at 44100/16 are being played as 44100/24 so it would appear they are being upsampled (or more likely 16bit is simply being zero padded to 24bit). I had though this might be solved by switching from plughw to direct(hw) as that did refer to zero-padding the bit-depth. But this doesn't seem to make a difference.
No problem, obviously, but curious, is it possible to find the originating bit-depth? Be nice to get my indicator in-sync with the original source.
BTW - thanks for some fantastic software, a couple of months or so into using MoOde and still very impressed - simple but powerful!