Skip to content

Commit

Permalink
- Fixed a zero-day blunder that was keeping the real-time process
Browse files Browse the repository at this point in the history
  cycle from having the uniform block-size of 64 frames per period;
  (thus, probably inefective since v0.9.30). (EXPERIMENTAL)
  • Loading branch information
rncbc committed May 14, 2023
1 parent 6fd9182 commit 10dfd45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ChangeLog

GIT HEAD

- Fixed a zero-day blunder that was keeping the real-time process
cycle from having the uniform block-size of 64 frames per period;
(thus, probably inefective since v0.9.30). (EXPERIMENTAL)

- Multiple MIDI clip tools may now be applied simultaneously, in a
single shot, in the following priority order: quantize, transpose,
normalize, resize, rescale and timeshift. (EXPERIMENTAL)
Expand Down
4 changes: 2 additions & 2 deletions src/qtractorAudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ void qtractorAudioEngine::notifyBuffEvent ( unsigned int iBufferSize )
m_proxy.notifyBuffEvent(iBufferSize);
} else {
m_iBufferSize = iBufferSize;
if (m_iBlockSize < m_iBufferSize)
if (m_iBlockSize > m_iBufferSize)
m_iBlockSize = m_iBufferSize;
}
}
Expand Down Expand Up @@ -716,7 +716,7 @@ bool qtractorAudioEngine::init (void)

// Block-stride size changes...
m_iBlockSize = BLOCK_SIZE;
if (m_iBlockSize < m_iBufferSize)
if (m_iBlockSize > m_iBufferSize)
m_iBlockSize = m_iBufferSize;

// Guard for buffer size changes...
Expand Down

0 comments on commit 10dfd45

Please sign in to comment.