[RFC] Passthrough support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux