1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00

Ensures well-defined default speaker clock rate values.

This commit is contained in:
Thomas Harte 2017-11-21 21:18:58 -05:00
parent b887cb7255
commit 8ddc64c82a

View File

@ -114,7 +114,8 @@ class Speaker {
bool coefficients_are_dirty_; bool coefficients_are_dirty_;
Delegate *delegate_ = nullptr; Delegate *delegate_ = nullptr;
float input_cycles_per_second_, output_cycles_per_second_; float input_cycles_per_second_ = 0.0f;
float output_cycles_per_second_ = 0.0f;
void set_needs_updated_filter_coefficients() { void set_needs_updated_filter_coefficients() {
coefficients_are_dirty_ = true; coefficients_are_dirty_ = true;