[pulseaudio-discuss] [PATCH] macro: Move PA_LIKELY()/PA_UNLIKELY(), PA_CLAMP()/PA_CLAMP_UNLIKELY() to pulse/gccmacro.h

Tanu Kaskinen tanuk at iki.fi
Fri May 22 12:22:25 PDT 2015


On Wed, May 20, 2015, at 23:46, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> PA_CLAMP_VOLUME() in pulse/volume.h makes use of PA_CLAMP_UNLIKELY()
> 
> see https://bugs.freedesktop.org/show_bug.cgi?id=89515

Did you notice the discussion here?
http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/23030

It's not necessary to have the macros in the public API, and I'd prefer
not to add unnecessary stuff to the public API.

If the macros are added to the public API anyway, they need to be
documented too.

-- 
Tanu


More information about the pulseaudio-discuss mailing list