- fixed leakage
- fixed assertion failure - fixed warnings - fixed version number git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@238 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -799,7 +799,7 @@ if ((pcenter < pmin) || (pcenter > pmax))
|
||||
|
||||
}
|
||||
|
||||
void paramInfoInit(param_info_t *pObj, UINT32 id, char *pName)
|
||||
void paramInfoInit(param_info_t *pObj, UINT32 id, const char *pName)
|
||||
{
|
||||
pObj->id = id;
|
||||
|
||||
@@ -855,7 +855,7 @@ void paramInfoSet(param_info_t *pObj,
|
||||
pObj->pinterval = pinterval;
|
||||
}
|
||||
|
||||
void paramInfoCopy(param_info_t *pDst, param_info_t *pSrc)
|
||||
void paramInfoCopy(param_info_t *pDst, param_info_t const *pSrc)
|
||||
{
|
||||
pDst->base = pSrc->base;
|
||||
pDst->kexp = pSrc->kexp;
|
||||
|
||||
@@ -161,7 +161,7 @@ extern "C" {
|
||||
// --------------------------------------------------------------
|
||||
// Exported functions
|
||||
// --------------------------------------------------------------
|
||||
void paramInfoInit(param_info_t *pObj, UINT32 id, char *pName);
|
||||
void paramInfoInit(param_info_t *pObj, UINT32 id, const char *pName);
|
||||
void paramInfoFree(param_info_t *pObj);
|
||||
void paramInfoSetPMIN(param_info_t *pObj, synth_float_t value);
|
||||
void paramInfoSetPMAX(param_info_t *pObj, synth_float_t value);
|
||||
@@ -174,7 +174,7 @@ void paramInfoSet(param_info_t *pObj,
|
||||
synth_float_t pmax,
|
||||
synth_float_t pinterval);
|
||||
|
||||
void paramInfoCopy(param_info_t *pDst, param_info_t *pSrc);
|
||||
void paramInfoCopy(param_info_t *pDst, param_info_t const *pSrc);
|
||||
synth_float_t clampParam(param_info_t *pObj, synth_float_t p);
|
||||
synth_float_t toParam(param_info_t *pObj, synth_float_t s);
|
||||
synth_float_t toSlider(param_info_t *pObj, synth_float_t p);
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
void SynthDebug(char *fmtstr, ...);
|
||||
void SynthDebug(const char *fmtstr, ...);
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user