From 401ea2f8182467cad53d21e3d9731a9af20fa879 Mon Sep 17 00:00:00 2001 From: arsamus Date: Mon, 9 May 2022 17:54:37 -0300 Subject: [PATCH] Update minidexed.cpp --- src/minidexed.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/minidexed.cpp b/src/minidexed.cpp index 8a41417..118f106 100644 --- a/src/minidexed.cpp +++ b/src/minidexed.cpp @@ -479,8 +479,8 @@ void CMiniDexed::SetPortaMode (uint8_t nValue, unsigned nTG) m_nPortamentoMode[nTG] = nValue; assert (m_pTG[nTG]); - // m_pTG[nTG]->setPortamentoMode (nValue); // uncoment and comment following in news version of dexed - m_pTG[nTG]->setPortamentoMode (nValue, m_nPortamentoGlissando[nTG], m_nPortamentoTime[nTG]); // Compile error due to new implementation in Dexed, uncoment above and coment this + m_pTG[nTG]->setPortamentoMode (nValue); // uncoment and comment following in news version of dexed + //m_pTG[nTG]->setPortamentoMode (nValue, m_nPortamentoGlissando[nTG], m_nPortamentoTime[nTG]); // Compile error due to new implementation in Dexed, uncoment above and coment this m_UI.ParameterChanged (); } @@ -493,8 +493,8 @@ void CMiniDexed::SetPortaGlissando (uint8_t nValue, unsigned nTG) m_nPortamentoGlissando[nTG] = nValue; assert (m_pTG[nTG]); - // m_pTG[nTG]->setPortamentoGlissando (nValue); // uncoment and comment following in news version of dexed - m_pTG[nTG]->setPortamentoMode (m_nPortamentoMode[nTG], nValue, m_nPortamentoTime[nTG]); // Compile error due to new implementation in Dexed, uncoment above and coment this + m_pTG[nTG]->setPortamentoGlissando (nValue); // uncoment and comment following in news version of dexed + //m_pTG[nTG]->setPortamentoMode (m_nPortamentoMode[nTG], nValue, m_nPortamentoTime[nTG]); // Compile error due to new implementation in Dexed, uncoment above and coment this m_UI.ParameterChanged (); } @@ -507,8 +507,8 @@ void CMiniDexed::SetPortaTime (uint8_t nValue, unsigned nTG) m_nPortamentoTime[nTG] = nValue; assert (m_pTG[nTG]); - // m_pTG[nTG]->setPortamentoTime (nValue); // uncoment and comment following in news version of dexed - m_pTG[nTG]->setPortamentoMode (m_nPortamentoMode[nTG], m_nPortamentoGlissando[nTG], nValue); // Compile error due to new implementation in Dexed, uncoment above and coment this + m_pTG[nTG]->setPortamentoTime (nValue); // uncoment and comment following in news version of dexed + //m_pTG[nTG]->setPortamentoMode (m_nPortamentoMode[nTG], m_nPortamentoGlissando[nTG], nValue); // Compile error due to new implementation in Dexed, uncoment above and coment this m_UI.ParameterChanged (); }