- 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:
+2
-2
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user