]> code.delx.au - pulseaudio/commit
core-format: Add pa_format_info_from_sample_spec2()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 3 Dec 2013 15:49:51 +0000 (17:49 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 8 Jan 2014 19:26:39 +0000 (21:26 +0200)
commitd78d8246b41c688303f59d6ba7f34b52132c67b8
tree5c1d1c64fff4d2bc912fe6f43af744efa58ebb14
parent30a32d35c8b91cafc004961828a7d0acbce74f1f
core-format: Add pa_format_info_from_sample_spec2()

The function will be used in pa_sink_input_new() and
pa_source_output_new() to convert the sample spec given by the client
to a format info object. The set_format, set_rate and set_channels
will be set according to the stream flags (PA_SINK_INPUT_FIX_FORMAT
etc.).
src/pulsecore/core-format.c
src/pulsecore/core-format.h