You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standalone app never changes the block size in processBlock.
Logic changes the block size once in the first processBlock callback.
Audacity permanently changes the block size in processBlock, e.g. between 512 and 157 (max. 1156).
One way to handle variable blocks would be to delay the output by the max. block size reported in prepareToPlay and report the resulting latency back by setting setLatencySamples. Therefore, two modes of operation need to be introduced, e.g. offline and online mode.
The text was updated successfully, but these errors were encountered:
jurihock
changed the title
Explore the variable block length in processBlock (doesn't seem to be an issue in the standalone app)
Variable block length in processBlockDec 3, 2023
Observations:
processBlock
.processBlock
callback.processBlock
, e.g. between 512 and 157 (max. 1156).One way to handle variable blocks would be to delay the output by the max. block size reported in
prepareToPlay
and report the resulting latency back by settingsetLatencySamples
. Therefore, two modes of operation need to be introduced, e.g. offline and online mode.The text was updated successfully, but these errors were encountered: