mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Ensures that get_average_output_peak() returns something sensible even before a set_relative_volumes.
This commit is contained in:
parent
3cc89cb4d2
commit
8a805b6ba1
@ -171,7 +171,7 @@ template <typename... T> class CompoundSource:
|
||||
CompoundSourceHolder<T...> source_holder_;
|
||||
std::vector<double> volumes_;
|
||||
int16_t volume_range_ = 0;
|
||||
std::atomic<double> average_output_peak_;
|
||||
std::atomic<double> average_output_peak_{1.0};
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user