From 03a07747f096643265dd724964518acc7f682de9 Mon Sep 17 00:00:00 2001 From: abscisys Date: Tue, 20 Dec 2022 01:38:24 +0100 Subject: [PATCH] Fixing compiling issue on RPI1 --- src/performanceconfig.cpp | 5 ++++- src/performanceconfig.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/performanceconfig.cpp b/src/performanceconfig.cpp index af36e8a..b7d967a 100644 --- a/src/performanceconfig.cpp +++ b/src/performanceconfig.cpp @@ -520,7 +520,8 @@ void CPerformanceConfig::SetReverbLevel (unsigned nValue) m_nReverbLevel = nValue; } -// Unison +#ifdef ARM_ALLOW_MULTI_CORE +/* Unison START */ bool CPerformanceConfig::GetUnisonEnable (void) const { return m_bUnisonEnable; @@ -550,6 +551,8 @@ void CPerformanceConfig::SetUnisonDetuneSpread (unsigned nValue) { m_nUnisonDetuneSpread = nValue; } +/* Unison END */ +#endif // Pitch bender and portamento: void CPerformanceConfig::SetPitchBendRange (unsigned nValue, unsigned nTG) diff --git a/src/performanceconfig.h b/src/performanceconfig.h index 017c419..76aa768 100644 --- a/src/performanceconfig.h +++ b/src/performanceconfig.h @@ -117,13 +117,16 @@ public: void SetReverbDiffusion (unsigned nValue); void SetReverbLevel (unsigned nValue); - // Unison + #ifdef ARM_ALLOW_MULTI_CORE + /* Unison START */ bool GetUnisonEnable (void) const; unsigned GetUnisonPanSpread (void) const; unsigned GetUnisonDetuneSpread (void) const; void SetUnisonEnable (bool bValue); void SetUnisonPanSpread (unsigned nValue); void SetUnisonDetuneSpread (unsigned nValue); + /* Unison END */ + #endif bool VoiceDataFilled(unsigned nTG); bool ListPerformances();