Skip to content

pitch: Fix race between putSamples() and setting soundtouch parameters

The various soundtouch set*() functions may cause buffer (re)allocations which interferes with inputting the audio data.

Kinda forgot I had this. Looks like I wrote it in 2016 against 1.6.3. Details are a little hazy, but I seem to remember it crashing if you changed the parameters while pushing data.

Merge request reports