Update Midnam C++ API
This commit is contained in:
parent
2d3b62b69c
commit
bc4cf8a5ad
2 changed files with 2 additions and 17 deletions
|
|
@ -242,16 +242,6 @@ public:
|
|||
*/
|
||||
int getNumCurves() const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Export a MIDI Name document describing the currently loaded SFZ file.
|
||||
* @since 0.3.1
|
||||
*
|
||||
* @param model The model name used if a non-empty string, otherwise generated.
|
||||
*
|
||||
* @return A newly allocated XML string, which must be freed after use.
|
||||
*/
|
||||
std::string exportMidnam(const std::string& model) const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Return a list of unsupported opcodes, if any.
|
||||
* @since 0.2.0
|
||||
|
|
@ -990,7 +980,7 @@ public:
|
|||
*
|
||||
* @return A XML string.
|
||||
*/
|
||||
std::string exportMidnam(const char* model);
|
||||
std::string exportMidnam(const std::string& model) const;
|
||||
|
||||
/**
|
||||
* @addtogroup Messaging
|
||||
|
|
|
|||
|
|
@ -110,11 +110,6 @@ int sfz::Sfizz::getNumCurves() const noexcept
|
|||
return synth->synth.getNumCurves();
|
||||
}
|
||||
|
||||
std::string sfz::Sfizz::exportMidnam(const std::string& model) const noexcept
|
||||
{
|
||||
return synth->synth.exportMidnam(model);
|
||||
}
|
||||
|
||||
const std::vector<std::string>& sfz::Sfizz::getUnknownOpcodes() const noexcept
|
||||
{
|
||||
return synth->synth.getUnknownOpcodes();
|
||||
|
|
@ -366,7 +361,7 @@ void sfz::Sfizz::clearExternalDefinitions()
|
|||
synth->synth.getParser().clearExternalDefinitions();
|
||||
}
|
||||
|
||||
std::string sfz::Sfizz::exportMidnam(const char* model)
|
||||
std::string sfz::Sfizz::exportMidnam(const std::string& model) const
|
||||
{
|
||||
return synth->synth.exportMidnam(model);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue