]> code.delx.au - pulseaudio/commit
sink-input, source-output: Interpret missing PCM parameters in format info as a reque...
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 4 Dec 2013 04:09:23 +0000 (06:09 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 8 Jan 2014 19:26:40 +0000 (21:26 +0200)
commitf41650a5507cf2b3a32fd39af06043ce0fdd50d9
tree4f32e8533aa06912f119b13c8ac7b8abe5765414
parentd27a650cd5b30fecaa794e6e485dc557881de83e
sink-input, source-output: Interpret missing PCM parameters in format info as a request to decide those parameters at the server end

The "fix flags" (PA_SINK_INPUT_FIX_FORMAT etc.) don't work properly
with the pa_stream_new_extended() interface. This patch fixes it so
that the same effect can be achieved by leaving some of the PCM
parameters unspecified in format info objects. Also, when converting
a sample spec to a format info when using the old pa_stream_new()
interface, the "fix flags" are taken into account in that conversion.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=68952
src/pulsecore/sink-input.c
src/pulsecore/source-output.c