1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00
Commit graph

66 commits

Author SHA1 Message Date
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
reuk
68d30f9c8d Convolution: Compensate for volume changes when resampling IRs
When normalisation is disabled, the Convolution will now adjust the gain
of the IR using the ratio of the source and destination sampling rates.
This should keep the output level constant when the Convolution's
sampling rate is changed.
2021-03-11 15:19:31 +00:00
reuk
552c7fcc3d
Convolution: Update documentation for prepare function 2021-02-24 12:41:37 +00:00
reuk
29c4ef36ee
FFT: Add move ops which would otherwise be implicitly deleted 2021-01-29 10:31:08 +00:00
reuk
cd41e31cb5
DSP: Ensure that IRs are loaded immediately when Convolution is prepared
Previously, if `loadImpulseResponse` was called before `prepareToPlay`,
the IR wasn't guaranteed to have loaded before the first call to
`processSamples`.

Now, we flush the queue of pending IR-load commands during
`prepareToPlay`, which should ensure that the most recently-loaded IR is
ready to use immediately.
2020-12-15 13:07:18 +00:00
reuk
43c692e20d
DSP: Fix typo in Convolution docs 2020-11-16 10:14:54 +00:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
ed
cc0da9527a DSP: Fixed some lambda capture lists that trip up GCC 5 in the convolution tests 2020-08-26 12:16:39 +01:00
reuk
58652ce490 DLL: Fix warnings in Windows DLL build 2020-08-24 17:11:32 +01:00
reuk
5ab6042c04
Convolution: Fix issue where old convolution engines were sometimes used after calling prepare
The startThread/stopThread calls were moved to prevent a thread
sanitizer warning about a race on the vtable of Impl.
2020-07-10 20:04:48 +01:00
ed
d8a119e542 Fixed some GCC 5 compatibility issues 2020-07-01 19:11:56 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
4855f52e4d Added missing documentation tags 2020-06-27 17:26:44 +01:00
reuk
ae35ebd5bc
DSP: Allow Convolution instances to share a single background thread 2020-06-08 18:17:30 +01:00
reuk
fca3429e6e
DSP: Update convolution 2020-05-15 18:06:03 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
Ivan Cohen
c138bf91b4 DSP: Revamp DSP module 2020-04-24 14:37:09 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
9fa6c195ee FFT: Add IPP implementation 2020-04-16 12:18:46 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
reuk
5af01b9b16 Demos: Convey proper ownership semantics 2020-03-12 18:30:45 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
Tom Poole
41055ad782 DSP: Refactored AudioBlock 2019-08-15 12:49:47 +01:00
Tom Poole
a4bd6cbc66 Fixed some more Linux compiler warnings 2019-06-06 10:25:19 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
reuk
827055c2c1 DSP: Allowed AudioBlocks of const elements 2019-03-26 16:32:28 +00:00
Tom Poole
aa361c9cf5 Documentation fixes 2019-02-22 10:01:53 +00:00
ed
74bcfa1d83 Fixed a missing argument when creating an instance of FFTWImpl 2019-02-21 09:15:16 +00:00
Tom Poole
4751e9d41a Added a new templated SmoothedValue class 2019-02-19 09:38:04 +00:00
Ivan COHEN
36d71a0c75 DSP: Improved the smoothing of IR changes in the Convolution class 2019-02-15 15:10:51 +00:00
reuk
b8278cec0e LinearSmoothedValue: Added some helpful member functions and deprecated setValue 2019-02-13 19:00:21 +00:00
Ivan COHEN
b8bee51651 DSP: Fixed some FIFO and memory allocation issues in convolutions 2019-02-13 12:00:46 +00:00
Tom Poole
77feb173b0 DSP: Improved some variable names and documentation 2019-02-13 10:26:06 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
Tom Poole
56022b6680 DSP: Fixed an uninitialised memory issue in the Convolution class 2018-09-10 09:47:23 +01:00
Tom Poole
493591a7ef Cleaned up some doc comments 2018-08-29 10:56:56 +01:00
hogliux
1b0cdc74f2 DSP: Ensured that FFTW is initialised and destroyed in a thread-safe way 2018-08-20 11:27:32 +01:00
hogliux
544e35655a DSP: Solved an issue with dsp::Convolution algorithm initialisation 2018-06-29 10:02:33 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
4229dc0a4f Made a lot of ScopedPointer usage conform to the std::unique_ptr interface 2018-04-10 18:34:20 +01:00
jules
d691838765 Tidied up a few minor coding style discrepencies 2018-04-10 09:50:11 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
hogliux
f73fc41af1 DSP: Various improvements to the convolution engine (see commit message for more info)
* The stereo option now works like in most guitar amplifier simulations : whatever the number of channels in the process function, or defined in the prepare function, the parameter "wantsStereo" allows the class to do all the time mono or stereo processing
* Fixed a few issues when the user tries to change the normalization or trimming option without changing the impulse response itself
* Reduced memory consumption in various places
* Various improvements to the documentation
2018-02-08 10:07:40 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
f9313c8338 Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago! 2018-01-09 16:28:14 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
51f6c5d01c Tidied up a few bits of messy String concatenation 2017-12-05 12:03:30 +00:00