Re: [Musicpd-dev-team] 24-bit file plays on a 16-bit DAC?

2009-05-14 Thread Grant
I got it working with alsa by specifying plughw:0 instead of hw:0. plughw enables half of dmix - i.e. the part of libasound which does the resampling and sample format conversion.  That means that ALSA will automatically convert 24-16 if the hardware isn't 24 bit capable. I do hear glitches

Re: [Musicpd-dev-team] 24-bit file plays on a 16-bit DAC?

2009-05-14 Thread Grant
I believe that the ALSA-OSS emulation enables dmix, and therefore also plughw. Max I really don't think mpd-oss-dmix because I tried specifying a format my DAC can't handle in /etc/asound.conf for dmix. aplay and all other ALSA apps won't work, but mpd still plays. - Grant

Re: [Musicpd-dev-team] 24-bit file plays on a 16-bit DAC?

2009-05-13 Thread Max Kellermann
On 2009/05/12 21:18, Grant emailgr...@gmail.com wrote: I got it working with alsa by specifying plughw:0 instead of hw:0. plughw enables half of dmix - i.e. the part of libasound which does the resampling and sample format conversion. That means that ALSA will automatically convert 24-16 if the

Re: [Musicpd-dev-team] 24-bit file plays on a 16-bit DAC?

2009-05-12 Thread Grant
My USB DAC is only capable of 16/44.1 16/48 and doesn't do any sort of oversampling (non-OS).  I tried playing a 24/96 file in gmpc and it plays just fine.  This is puzzling since I have: audio_output {         type                    alsa         name                    USB Monica