gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit d267489f9750b47a636345b207843a8041ada4ac
parent 65a18430f3528cc0efcc203f52c6ea229e6316c4
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 12 Oct 2024 02:45:52 +0200

send wave to device whenever we save a wave that we have edited

Diffstat:
Msource/xtJucePlugin/xtWaveEditor.cpp | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/source/xtJucePlugin/xtWaveEditor.cpp b/source/xtJucePlugin/xtWaveEditor.cpp @@ -187,7 +187,10 @@ namespace xtJucePlugin if(WaveEditorData::isReadOnly(_target)) return false; - m_data.setWave(_target, m_graphData.getSource()); + if(!m_data.setWave(_target, m_graphData.getSource())) + return false; + + m_data.sendWaveToDevice(_target); if(_target != m_selectedWave) setSelectedWave(_target);