On 2014/10/14 07:35, Ian Scott <i...@polpo.org> wrote:
> +             ss.format = PA_SAMPLE_FLOAT32NE;
[...]
>       ss.format = PA_SAMPLE_S16NE;

This cannot work.  No matter what you write to ss.format, it will be
overwritten right after the switch.

But I like how simple this patch looks, compared to Steven's
overcomplicated probing code (which I don't know what it's good for).

Though I believe you can remove the #ifdefs.  All of my chroots
support these formats.  If a specific libpulse version is needed, we
may add a minimum required version to the pkg-config check in
configure.ac.
_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to