Skip to content

Commit 729b12a

Browse files
committed
Fixed not releasing a pipe after fast switching between vave-based tremulant samples and regular pipe samples #2004
1 parent 81446df commit 729b12a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Fixed not releasing a pipe after fast switching between vave-based tremulant samples and regular pipe samples https://github.com/GrandOrgue/grandorgue/issues/2004
12
- Fixed the sequencer "Save file" button not lightening after inserting or deleting a combination https://github.com/GrandOrgue/grandorgue/issues/2024
23
- Fixed appearence, sizing and the scrollbar issues with the Stops window https://github.com/GrandOrgue/grandorgue/issues/1961
34
# 3.15.2 (2024-10-25)

src/grandorgue/sound/GOSoundFader.h

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ class GOSoundFader {
6969
* @param nFrames number of frames for full decay
7070
*/
7171
inline void StartDecreasingVolume(unsigned nFrames) {
72+
// stop increasing the volume if it has not yet finished
73+
m_IncreasingDeltaPerFrame = 0.0f;
7274
// maybe m_TargetVolume has not yet been reached, but the velocity of
7375
// decreasing should be the same as it has reached
7476
m_DecreasingDeltaPerFrame = -(m_TargetVolume / nFrames);

0 commit comments

Comments
 (0)