Skip to content

Commit

Permalink
Merge pull request #7 from osoftware/master
Browse files Browse the repository at this point in the history
Fix presetIndex assignment in SoundFontInstrument constructor
  • Loading branch information
Mike Perri authored Feb 7, 2021
2 parents 70c4d8b + b496366 commit 4f2958f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/cpp/Engine/SoundFontInstrument.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SoundFontInstrument : public IInstrument {
int presetIndex;

SoundFontInstrument(int32_t sampleRate, bool isStereo, const char* path, bool isAsset, int32_t presetIndex) {
presetIndex = presetIndex;
this->presetIndex = presetIndex;

if (isAsset) {
auto asset = openAssetBuffer(path);
Expand Down

0 comments on commit 4f2958f

Please sign in to comment.