[pulseaudio-discuss] [PATCH] Introduce "available" concept for ports, and communicate that to clients. Bump protocol version to 24.

Colin Guthrie gmane at colin.guthr.ie
Wed Oct 19 03:10:12 PDT 2011


'Twas brillig, and David Henningsson at 19/10/11 05:55 did gyre and gimble:
> On 10/19/2011 12:11 AM, Pierre-Louis Bossart wrote:
>>> Did you miss my previous explanation, or did you find it insufficient?
>>> I'm repeating it below:
>>>
>>> "The protocol skew in Ubuntu 11.10 was actually a mistake on my part.
>>> Since the UI changes that would depend on this information being
>>> available was backed out, I probably should have backed the actual
>>> protocol change out as well.
>>>
>>> Anyway, here is the patch that forms one of the base features for jack
>>> detection, and brings upstream out of protocol skew with Ubuntu 11.10."
>>
>> I honestly did not understand the explanation, most likely because I use
>> Fedora for historical reasons and have no idea about the content of
>> Ubuntu
>> 11.10...What type of client will make use of this information?
> 
> My use case is volume control UIs (pavucontrol, gnome volume control,
> etc) - they can use the information to hide three of the four HDMI
> ports, keeping only the right one. Or hide headphones when they are not
> plugged in.
> 
> But in Ubuntu 11.10 no client actually uses this information, which is
> why the protocol skew was a mistake.

It'll still be needed at some point anyway, so I don't think the skew is
a big problem. We'll make sure this is in the first patch that pokes
protocol versions.

But yes, as David said the availability info can be used to indicate
whether a port is available or not (while not in this patch it will be
in further patch series, and David is posting this bit of it now to get
the protocol bump in now to avoid the problems we had with Meego
protocol deviations).

In Windows 7 for example this is quite clearly labelled as Available vs.
Unavailable in text and by desaturating the icons.


I would say that to see an example of the GUI in win7 to look at my
slides from the Desktop Summit (slide 4)

https://www.desktopsummit.org/program/sessions/pulseaudio-control-and-command-state-desktop-integration-gnome-kde

But sadly the PDF version doesn't handle transitions to the overlays
really don't work :(

So I've attached the relevant screencap here.

Col



-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sound2.PNG
Type: image/png
Size: 28198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111019/1f3395db/attachment-0001.png>


More information about the pulseaudio-discuss mailing list