]> code.delx.au - pulseaudio/commit
core-format: Add pa_format_info_to_sample_spec2()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 18 Nov 2013 17:58:37 +0000 (19:58 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 8 Jan 2014 19:26:39 +0000 (21:26 +0200)
commit30a32d35c8b91cafc004961828a7d0acbce74f1f
treec3bb5aff548abe0d263696b8cf65723dea048b2c
parentdfa3c507001d583574a04cf87ed1f0123553ddac
core-format: Add pa_format_info_to_sample_spec2()

The function will be used in pa_sink_input_new() and
pa_source_output_new(). The fallback parameters are used to merge the
data in the format info with the sink/source sample spec and channel
map, when the format info is lacking some information.
src/pulsecore/core-format.c
src/pulsecore/core-format.h