Hi all,

I was trying to setup MPD through pulseaudio at 24-bit or higher bit
depth, but it always seemed to treat the output as 16 bit. After some
digging around, I found the following comment in the code:

http://git.musicpd.org/cgit/master/mpd.git/tree/src/output/PulseOutputPlugin.cxx#n585

/* MPD doesn't support the other pulseaudio sample formats, so
  we just force MPD to send us everything as 16 bit */

audio_format.format = SampleFormat::S16;
ss.format = PA_SAMPLE_S16NE;

I don't know the history or the rationale behind this, so I was
wondering: is this still a valid assumption? Is there anything
preventing us from opening a higher resolution stream to pulseaudio? I
found the list of pulseaudio sample formats which seems fairly
comprehensive:

http://freedesktop.org/software/pulseaudio/doxygen/sample_8h.html#a3c622fc51f4fc6ebfdcc7b454ac9c05f

Thanks,
Mrinal

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to