diff options
Diffstat (limited to 'audio/csound6/files/patch-frontends_CsoundAC_ChordSpace.hpp')
-rw-r--r-- | audio/csound6/files/patch-frontends_CsoundAC_ChordSpace.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/csound6/files/patch-frontends_CsoundAC_ChordSpace.hpp b/audio/csound6/files/patch-frontends_CsoundAC_ChordSpace.hpp new file mode 100644 index 000000000000..0471a156f344 --- /dev/null +++ b/audio/csound6/files/patch-frontends_CsoundAC_ChordSpace.hpp @@ -0,0 +1,19 @@ +--- frontends/CsoundAC/ChordSpace.hpp.orig 2015-09-29 11:13:28 UTC ++++ frontends/CsoundAC/ChordSpace.hpp +@@ -29,6 +29,7 @@ + #include <climits> + #include <cmath> + #include <cstdarg> ++#include <cstdio> + #include <eigen3/Eigen/Dense> + #include "Event.hpp" + #include <iostream> +@@ -554,7 +555,7 @@ public: + char buffer[0x1000]; + std::stringstream stream; + for (size_t voice = 0; voice < voices(); ++voice) { +- std::snprintf(buffer, 0x100, "%12.7f", getPitch(voice)); ++ snprintf(buffer, 0x100, "%12.7f", getPitch(voice)); + if (voice > 0) { + stream << " "; + } |