Skip to content

Commit

Permalink
Fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Feb 23, 2024
1 parent f3dc47a commit 9572bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const GOSoundAudioSection *GOSoundProvider::GetAttack(
}

const GOSoundAudioSection *GOSoundProvider::GetRelease(
uint8_t sampleGroup, unsigned playbackDurationMs) const {
int8_t sampleGroup, unsigned playbackDurationMs) const {
const unsigned x = abs(rand());
int best_match = -1;

Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/sound/GOSoundProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class GOSoundProvider : public GOStatisticCallback {
const GOSoundAudioSection *GetAttack(
unsigned velocity, unsigned releasedDurationMs) const;
const GOSoundAudioSection *GetRelease(
uint8_t sampleGroup, unsigned playbackDurationMs) const;
int8_t sampleGroup, unsigned playbackDurationMs) const;
float GetGain() const;
int IsOneshot() const;

Expand Down

0 comments on commit 9572bd6

Please sign in to comment.