[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:00:53 PDT 2011


'Twas brillig, and David Henningsson at 18/10/11 20:56 did gyre and gimble:
>> While in general I agree that a boolean is a fine success/failure return
>> type, I think in Pulseaudio the convention is to stick just to ints.
> 
> Hmm. A quick 'grep -r "return TRUE"' of PulseAudio source tree seems to
> give enough results to falsify that assumption.

We're quite happy to return bools on internal stuff. It's just when
dealing with client-site/public APIs that we stick to ints.

So as this is an internal function, I think it's fine.

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/



More information about the pulseaudio-discuss mailing list