WaveSynth: initialize wave to 0 on SCC/Bubble Syst

This commit is contained in:
tildearrow 2022-06-09 18:16:51 -05:00
parent eac4f50d92
commit dd05429c0e
4 changed files with 9 additions and 4 deletions

View file

@ -70,7 +70,7 @@ class DivWaveSynth {
* @param insChanged whether the instrument has changed.
*/
void init(DivInstrument* which, int width, int height, bool insChanged=false);
void setEngine(DivEngine* engine);
void setEngine(DivEngine* engine, int waveFloor=0);
DivWaveSynth():
e(NULL),
pos(0),