backend update from Raze

* moving large allocations off the stack
* use proper printf formatters for size_t and ptrdiff_t.
* adding some missing 'noexcept'.
This commit is contained in:
Christoph Oelckers 2024-01-06 15:24:10 +01:00
commit 83aa9388ca
29 changed files with 117 additions and 109 deletions

View file

@ -282,7 +282,7 @@ GainAnalyzer::ResetSampleFrequency(int samplefreq) {
int
GainAnalyzer::InitGainAnalysis(int samplefreq) {
*this = {};
memset(this, 0, sizeof(*this));
if (ResetSampleFrequency(samplefreq) != INIT_GAIN_ANALYSIS_OK) {
return INIT_GAIN_ANALYSIS_ERROR;
}