From 645a5380018962d76c77d41742e9d191f97945b7 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Thu, 6 Jun 2019 14:54:53 +0100 Subject: [PATCH] Re-saved all projects --- .../Android/app/src/main/assets/AudioLiveScrollingDisplay.h | 2 +- .../Builds/Android/app/src/main/assets/DSPDemos_Common.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h b/examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h index 0b9a1f1211..c68f062e72 100644 --- a/examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h +++ b/examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h @@ -65,7 +65,7 @@ public: // We need to clear the output buffers before returning, in case they're full of junk.. for (int j = 0; j < numOutputChannels; ++j) if (float* outputChannel = outputChannelData[j]) - zeromem (outputChannel, sizeof (float) * (size_t) numberOfSamples); + zeromem (outputChannel, (size_t) numberOfSamples * sizeof (float)); } JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LiveScrollingAudioDisplay) diff --git a/examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h b/examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h index dc9dfcb59e..33a54ea671 100644 --- a/examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h +++ b/examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h @@ -104,7 +104,7 @@ public: thumbnail.addChangeListener (this); } - ~AudioThumbnailComponent() + ~AudioThumbnailComponent() override { thumbnail.removeChangeListener (this); } @@ -367,7 +367,7 @@ public: setSize (800, 250); } - ~AudioFileReaderComponent() + ~AudioFileReaderComponent() override { signalThreadShouldExit(); stop(); @@ -551,7 +551,7 @@ private: loopButton.getToggleStateValue().referTo (audioFileReader.loopState); } - ~AudioPlayerHeader() + ~AudioPlayerHeader() override { audioFileReader.playState.removeListener (this); }