[pulseaudio-discuss] [RFC] Passthrough support

Arun Raghavan arun.raghavan at collabora.co.uk
Sun Feb 27 23:29:22 PST 2011

On Sun, 2011-02-27 at 23:20 -0800, Christ Schlacta wrote:
> mark settings as optional or required for negotiation.  if one or the 
> other can't support an "Optional" parameter, then it gets replied to as 
> unsupported but continuing.  a warning is logged.  a mandatory option 
> will cause it to fail with an error message logged (Warning, Remote sink 
> doesn't support required option "bitrate".  either upgrade Remote Sink, 
> or set bitrate as optional by using "optional bitrate foo") or similar.

We can do this, but what does it really get us? On the sink side, we
know what restrictions we want to place on the input, and it's
reasonable to assume anything unspecified is fine (if it's not, it
should be specified as a restriction anyway).

On the stream side, we're not providing the information as a restriction
- we're saying "I have this stream, it can be with one of these
formats/properties, find me a sink to plug into". What would an optional
parameter achieve here?

-- Arun

More information about the pulseaudio-discuss mailing list