The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2KB

  1. #pragma once
  2. %%include_juce%%
  3. //==============================================================================
  4. /*
  5. This component lives inside our window, and this is where you should put all
  6. your controls and content.
  7. */
  8. class %%content_component_class%% : public juce::AudioAppComponent
  9. {
  10. public:
  11. //==============================================================================
  12. %%content_component_class%%();
  13. ~%%content_component_class%%() override;
  14. //==============================================================================
  15. void prepareToPlay (int samplesPerBlockExpected, double sampleRate) override;
  16. void getNextAudioBlock (const juce::AudioSourceChannelInfo& bufferToFill) override;
  17. void releaseResources() override;
  18. //==============================================================================
  19. void paint (juce::Graphics& g) override;
  20. void resized() override;
  21. private:
  22. //==============================================================================
  23. // Your private member variables go here...
  24. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%content_component_class%%)
  25. };