[pulseaudio-discuss] [PATCH v2 00/18] Format negotiation fixing

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Dec 18 09:31:13 PST 2013


On Wed, 2013-12-18 at 19:28 +0200, Tanu Kaskinen wrote:
> Changes in v2:
>     - Support clients that want to set the stream volume while at the
>       same leaving the stream channel map unspecified.
>     - Support setting mono volume even if the stream has multiple
>       channels (the volume is copied to all channels).
>     - Constify some format info related function parameters.
>     - More error logging.
>     - Removed sample spec and channel map validity checking from
>       pa_format_info_from_sample_spec2(). It doesn't really make sense
>       to prepare everywhere for invalid sample specs and channel maps.
>       Preparing for that should be a special occasion, such as
>       receiving those structs directly from an untrusted source (i.e.
>       clients).
>     - Removed a volume validity check from create_stream() in
>       pulse/stream.c.

In case someone is interested, I attached the diff between v1 and v2.

-- 
Tanu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-v2.diff
Type: text/x-patch
Size: 34894 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131218/38062326/attachment-0001.bin>


More information about the pulseaudio-discuss mailing list