1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Removed some unnecessary virtual keywords

This commit is contained in:
ed 2021-03-19 15:44:56 +00:00
parent bd17993caa
commit a8aafed53d
3 changed files with 6 additions and 6 deletions

View file

@ -812,7 +812,7 @@ public:
info.flags = Vst::ParameterInfo::kIsProgramChange | Vst::ParameterInfo::kCanAutomate;
}
virtual ~ProgramChangeParameter() override = default;
~ProgramChangeParameter() override = default;
bool setNormalized (Vst::ParamValue v) override
{

View file

@ -82,8 +82,8 @@ public:
is needed by sources such as tone generators.
@see releaseResources, getNextAudioBlock
*/
virtual void prepareToPlay (int samplesPerBlockExpected,
double sampleRate) override = 0;
void prepareToPlay (int samplesPerBlockExpected,
double sampleRate) override = 0;
/** Allows the source to release anything it no longer needs after playback has stopped.
@ -97,7 +97,7 @@ public:
@see prepareToPlay, getNextAudioBlock
*/
virtual void releaseResources() override = 0;
void releaseResources() override = 0;
/** Called repeatedly to fetch subsequent blocks of audio data.
@ -111,7 +111,7 @@ public:
@see AudioSourceChannelInfo, prepareToPlay, releaseResources
*/
virtual void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) override = 0;
void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) override = 0;
/** Shuts down the audio device and clears the audio source.

View file

@ -63,7 +63,7 @@ public:
Note that like all other messages, this object will be deleted immediately
after this method has been invoked.
*/
virtual void messageCallback() override = 0;
void messageCallback() override = 0;
private:
// Avoid the leak-detector because for plugins, the host can unload our DLL with undelivered