From 512e877d066fb1431bb5f8d145953d88cbd012c7 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 5 Nov 2017 20:11:18 -0500 Subject: [PATCH] Ensures proper initialisation of the delegate pointer. --- Outputs/Speaker.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/Speaker.hpp b/Outputs/Speaker.hpp index 9eb18ce86..868fb5967 100644 --- a/Outputs/Speaker.hpp +++ b/Outputs/Speaker.hpp @@ -109,7 +109,7 @@ class Speaker { size_t buffer_in_progress_pointer_; size_t number_of_taps_, requested_number_of_taps_; bool coefficients_are_dirty_; - Delegate *delegate_; + Delegate *delegate_ = nullptr; float input_cycles_per_second_, output_cycles_per_second_;