From 72bd3322535b9e06ec03e350cfd4b13881aa928a Mon Sep 17 00:00:00 2001 From: Gergo Koteles Date: Fri, 10 Jan 2025 18:04:22 +0100 Subject: [PATCH] use the corrected named functions of Synth_Dexed https://codeberg.org/dcoredump/Synth_Dexed/pulls/12 --- src/minidexed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minidexed.cpp b/src/minidexed.cpp index 1cca446..c92755c 100644 --- a/src/minidexed.cpp +++ b/src/minidexed.cpp @@ -1236,7 +1236,7 @@ std::string CMiniDexed::GetVoiceName (unsigned nTG) if (nTG < m_nToneGenerators) { assert (m_pTG[nTG]); - m_pTG[nTG]->setName (VoiceName); + m_pTG[nTG]->getName (VoiceName); } std::string Result (VoiceName); return Result; @@ -2077,7 +2077,7 @@ void CMiniDexed::SetVoiceName (const std::string &VoiceName, unsigned nTG) char Name[11]; strncpy(Name, VoiceName.c_str(),10); Name[10] = '\0'; - m_pTG[nTG]->getName (Name); + m_pTG[nTG]->setName (Name); } bool CMiniDexed::DeletePerformance(unsigned nID)