diff --git a/src/AudioGeneratorMP3.cpp b/src/AudioGeneratorMP3.cpp index 36c93ba..4aa8b25 100644 --- a/src/AudioGeneratorMP3.cpp +++ b/src/AudioGeneratorMP3.cpp @@ -27,6 +27,9 @@ AudioGeneratorMP3::AudioGeneratorMP3() file = NULL; output = NULL; buff = NULL; + synth = NULL; + frame = NULL; + stream = NULL; nsCountMax = 1152/32; madInitted = false; } @@ -37,6 +40,9 @@ AudioGeneratorMP3::AudioGeneratorMP3(void *space, int size): preallocateSpace(sp file = NULL; output = NULL; buff = NULL; + synth = NULL; + frame = NULL; + stream = NULL; nsCountMax = 1152/32; madInitted = false; } @@ -51,6 +57,9 @@ AudioGeneratorMP3::AudioGeneratorMP3(void *buff, int buffSize, void *stream, int file = NULL; output = NULL; buff = NULL; + synth = NULL; + frame = NULL; + stream = NULL; nsCountMax = 1152/32; madInitted = false; }