Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
ladspa-preamp
preamp-ext2-conflict.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File preamp-ext2-conflict.patch of Package ladspa-preamp
--- exp2.h | 3 +++ preamp.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) --- a/exp2.h +++ b/exp2.h @@ -7,6 +7,8 @@ * thanks, andy! */ +namespace DSP { + static inline float exp2 (float x) { @@ -22,4 +24,5 @@ exp2 (float x) return x; } +} /* namespace DSP */ #endif /* _EXP_2_H_ */ --- a/preamp.cc +++ b/preamp.cc @@ -194,7 +194,7 @@ Preamp::process (int frames) hp.set_f (fc / fs); } - double g = gain < 1 ? gain + .00001 : exp2 (gain - 1); + double g = gain < 1 ? gain + .00001 : DSP::exp2 (gain - 1); double ig = .063 / g; g *= 4.; /* correction for first valve transfer at -12 dB gain */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor