- port to minGw

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@235 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2015-02-21 17:09:43 +00:00
parent 843c6e300c
commit cfc9645b0b
1093 changed files with 426078 additions and 143 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
#include <math.h>
#include <stdio.h>
#include "synth_defs.h"
#include "synth/synth_defs.h"
#include "JaySynthSound.h"
#include "JaySynthVoice.h"
#include "JaySynthMonophonicMGR.h"
@@ -83,7 +83,7 @@ JaySynth::JaySynth (int num_voices, String pathToWaves)
humanize_voice_param[i] = new param_info_t[max_num_voices];
for (j=0; j < max_num_voices; j++)
{
sprintf_s(paramName, "%s Voice# %03d", String(getParamInfo(i)->pName), j);
sprintf(paramName, "%s Voice# %03d", getParamInfo(i)->pName, j);
paramInfoInit(&humanize_voice_param[i][j], getParamInfo(i)->id, paramName);
paramInfoCopy(&humanize_voice_param[i][j], getParamInfo(i));
}