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:
parent
bd17993caa
commit
a8aafed53d
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue