pulsesink: Make 2.0 dependency optional
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 13 Jun 2013 07:10:15 +0000 (12:40 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 13 Jun 2013 07:14:32 +0000 (12:44 +0530)
commit01457027e0d384aca3e551ae684e0aa074ee5498
tree2d5a70a0bb708bd1af38ff964d6ce25113769597
parent01cc493944d1c0036d80243bea4d63ea79c33013
pulsesink: Make 2.0 dependency optional

The getcaps function we added uses some pa_format_info_get_prop...
accessor functions that were only added in 2.0, so we only have our
getcaps implementation exist if we're compiling against libpulse 2.0 or
above.

Eventually, we could bump the minimum requirement to 2.0 or above.

https://bugzilla.gnome.org/show_bug.cgi?id=686459
configure.ac
ext/pulse/pulsesink.c
ext/pulse/pulseutil.c