1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-19 08:31:11 +00:00

Ensures proper initialisation of the delegate pointer.

This commit is contained in:
Thomas Harte 2017-11-05 20:11:18 -05:00
parent 1e1efcdcb8
commit 512e877d06

View File

@ -109,7 +109,7 @@ class Speaker {
size_t buffer_in_progress_pointer_; size_t buffer_in_progress_pointer_;
size_t number_of_taps_, requested_number_of_taps_; size_t number_of_taps_, requested_number_of_taps_;
bool coefficients_are_dirty_; bool coefficients_are_dirty_;
Delegate *delegate_; Delegate *delegate_ = nullptr;
float input_cycles_per_second_, output_cycles_per_second_; float input_cycles_per_second_, output_cycles_per_second_;