]> code.delx.au - pulseaudio/commit
format: Expose pa_format_info<->pa_sample_spec conversion functions
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 6 Feb 2012 06:04:47 +0000 (11:34 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 5 Mar 2012 14:30:31 +0000 (20:00 +0530)
commitc60f698f1e1614309b0a568a20da840409adad2f
tree85c621c3f2b88e0aa6a3dba1735ae5574fa45766
parent63429b67c744562cb6f3467ff9393788650996d7
format: Expose pa_format_info<->pa_sample_spec conversion functions

These utility functions could be handy to clients.
pa_format_info_to_sample_spec_fake() isn't made public, but the return
value is changed to keep in sync with pa_format_info_to_sample_spec().
src/pulse/format.c
src/pulse/format.h
src/pulse/internal.h
src/pulsecore/sink-input.c
src/pulsecore/source-output.c