Created attachment 170051 [details]
Fix argument types for std::min() and std::max() in audio/calf
During the exp-run in bug 208158, it was found that audio/calf gives errors with libc++ 3.8.0 :
analyzer.cpp:473:59: error: no matching function for call to 'max'
fft_outL[_iter] = 0.25f * std::max(n * 0.6f * \
This is because in several places, std::min() and std::max() are called with mismatched arguments, e.g. float and double, or vice versa. Fix this by changing most instances to use fabsf() and explicit float types.
A commit references this bug:
Date: Fri May 6 19:25:49 UTC 2016
New revision: 414721
audio/calf: Fix build with libc++ 3.8.0
- change some patches to conform to makepatch rules
Submitted by: dim