From d434132fd7326d85c62980fc7515894327b953fc Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Wed, 10 Jun 2020 23:39:37 +0200 Subject: [PATCH] Disable a tuning library API which is unused and non-RT --- src/external/tunings/include/Tunings.h | 2 ++ src/external/tunings/src/Tunings.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/external/tunings/include/Tunings.h b/src/external/tunings/include/Tunings.h index a23daadc..2ff3df15 100644 --- a/src/external/tunings/include/Tunings.h +++ b/src/external/tunings/include/Tunings.h @@ -133,12 +133,14 @@ namespace Tunings */ Scale evenTemperament12NoteScale(); +#if 0 // Note(jpc): not rewritten RT-safe, not used, disabled /** * evenDivisionOfSpanByM provides a scale referd to as "ED2-17" or * "ED3-24" by dividing the Span into M points. eventDivisionOfSpanByM(2,12) * should be the evenTemperament12NoteScale */ Scale evenDivisionOfSpanByM( int Span, int M ); +#endif /** * readKBMStream returns a KeyboardMapping from a KBM input stream diff --git a/src/external/tunings/src/Tunings.cpp b/src/external/tunings/src/Tunings.cpp index 39704aa8..cacae2d6 100644 --- a/src/external/tunings/src/Tunings.cpp +++ b/src/external/tunings/src/Tunings.cpp @@ -159,6 +159,7 @@ namespace Tunings return res; } +#if 0 Scale evenDivisionOfSpanByM( int Span, int M ) { if( Span <= 0 ) @@ -182,6 +183,7 @@ namespace Tunings return parseSCLData( oss.str() ); } +#endif KeyboardMapping readKBMStream(std::istream &inf) {