Merge branch 'bugfix/voice-issues' into develop

This commit is contained in:
Paul Ferrand 2019-11-20 23:45:51 +01:00
commit e65ea37d7a
2 changed files with 6 additions and 1 deletions

View file

@ -35,6 +35,11 @@
#include <utility>
using namespace std::literals;
sfz::Synth::Synth()
{
resetVoices(this->numVoices);
}
sfz::Synth::Synth(int numVoices)
{
resetVoices(numVoices);

View file

@ -39,7 +39,7 @@ namespace sfz {
class Synth : public Parser {
public:
Synth() {}
Synth();
Synth(int numVoices);
bool loadSfzFile(const fs::path& file) final;
int getNumRegions() const noexcept;