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

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

 



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


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

  Powered by Linux