sink: Extend API for compressed formats support
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 28 Feb 2011 07:30:20 +0000 (13:00 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 04:47:20 +0000 (10:17 +0530)
commit47e0f91aa2ca6eb3ea8b7be8aa03cd03a28c3fbe
tree95affbf919114825f55b2c9fb3bc9160e9e11af6
parent3767c9c4e8107a3e78f387466b45384d64644d94
sink: Extend API for compressed formats support

This adds a get_formats() vfunc for sinks to provide a list of formats
they can support. pa_sink_check_formats() can be used during or after
routing to determine what formats from a stream the sink can support.
src/pulsecore/sink.c
src/pulsecore/sink.h