Browse Source

Re-saved all projects

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
645a538001
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h
  2. +3
    -3
      examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h

+ 1
- 1
examples/DemoRunner/Builds/Android/app/src/main/assets/AudioLiveScrollingDisplay.h View File

@@ -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)


+ 3
- 3
examples/DemoRunner/Builds/Android/app/src/main/assets/DSPDemos_Common.h View File

@@ -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);
}


Loading…
Cancel
Save