We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7de84 commit 1f6fb8aCopy full SHA for 1f6fb8a
1 file changed
complete/examples/GuiAndAudioThreadIdPrinting/MainComponent.h
@@ -34,8 +34,10 @@ class GuiAndAudioThreadIdPrinting : public juce::AudioAppComponent {
34
DBG("prepareToPlay() thread ID: " << getCurrentThreadId());
35
}
36
37
- void getNextAudioBlock(const juce::AudioSourceChannelInfo&) override {
+ void getNextAudioBlock(const juce::AudioSourceChannelInfo& info) override {
38
DBG("getNextAudioBlock() thread ID: " << getCurrentThreadId());
39
+
40
+ info.clearActiveBufferRegion();
41
42
43
void releaseResources() override {
0 commit comments