Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Commit

Permalink
Update some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Mar 23, 2016
1 parent 3775c92 commit 8721745
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 6 additions & 7 deletions distrho/DistrhoInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ START_NAMESPACE_DISTRHO

/**
Get the plugin version, in hexadecimal.
TODO format to be defined
*/
uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}

/**
Expand All @@ -104,7 +103,7 @@ START_NAMESPACE_DISTRHO
*/
int64_t getUniqueId() const override
{
return cconst('M', 'u', 't', 'e');
return d_cconst('M', 'u', 't', 'e');
}

/* ----------------------------------------------------------------------------------------
Expand Down Expand Up @@ -186,12 +185,12 @@ START_NAMESPACE_DISTRHO

uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}

int64_t getUniqueId() const override
{
return cconst('G', 'a', 'i', 'n');
return d_cconst('G', 'a', 'i', 'n');
}

/* ----------------------------------------------------------------------------------------
Expand Down Expand Up @@ -298,12 +297,12 @@ START_NAMESPACE_DISTRHO

uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}

int64_t getUniqueId() const override
{
return cconst('P', 'r', 'o', 'g');
return d_cconst('P', 'r', 'o', 'g');
}

/* ----------------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions distrho/DistrhoPlugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ class Plugin
Write a MIDI output event.@n
This function must only be called during run().@n
Returns false when the host buffer is full, in which case do not call this again until the next run().
@note This function is not implemented yet!@n
It's here so that developers can prepare MIDI plugins in advance.@n
If you plan to use this, please report to DPF authos so it can be implemented.
*/
bool writeMidiEvent(const MidiEvent& midiEvent) noexcept;
#endif
Expand Down

0 comments on commit 8721745

Please sign in to comment.