mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +00:00
Removed the fluid_clip from the revmodel_setxyz functions
This commit is contained in:
parent
8e1f47069b
commit
e6f423d593
1 changed files with 4 additions and 4 deletions
|
@ -486,7 +486,7 @@ fluid_revmodel_update(fluid_revmodel_t* rev)
|
||||||
void
|
void
|
||||||
fluid_revmodel_setroomsize(fluid_revmodel_t* rev, fluid_real_t value)
|
fluid_revmodel_setroomsize(fluid_revmodel_t* rev, fluid_real_t value)
|
||||||
{
|
{
|
||||||
fluid_clip(value, 0.0f, 1.0f);
|
/* fluid_clip(value, 0.0f, 1.0f); */
|
||||||
rev->roomsize = (value * scaleroom) + offsetroom;
|
rev->roomsize = (value * scaleroom) + offsetroom;
|
||||||
fluid_revmodel_update(rev);
|
fluid_revmodel_update(rev);
|
||||||
}
|
}
|
||||||
|
@ -500,7 +500,7 @@ fluid_revmodel_getroomsize(fluid_revmodel_t* rev)
|
||||||
void
|
void
|
||||||
fluid_revmodel_setdamp(fluid_revmodel_t* rev, fluid_real_t value)
|
fluid_revmodel_setdamp(fluid_revmodel_t* rev, fluid_real_t value)
|
||||||
{
|
{
|
||||||
fluid_clip(value, 0.0f, 1.0f);
|
/* fluid_clip(value, 0.0f, 1.0f); */
|
||||||
rev->damp = value * scaledamp;
|
rev->damp = value * scaledamp;
|
||||||
fluid_revmodel_update(rev);
|
fluid_revmodel_update(rev);
|
||||||
}
|
}
|
||||||
|
@ -514,7 +514,7 @@ fluid_revmodel_getdamp(fluid_revmodel_t* rev)
|
||||||
void
|
void
|
||||||
fluid_revmodel_setlevel(fluid_revmodel_t* rev, fluid_real_t value)
|
fluid_revmodel_setlevel(fluid_revmodel_t* rev, fluid_real_t value)
|
||||||
{
|
{
|
||||||
fluid_clip(value, 0.0f, 1.0f);
|
/* fluid_clip(value, 0.0f, 1.0f); */
|
||||||
rev->wet = value * scalewet;
|
rev->wet = value * scalewet;
|
||||||
fluid_revmodel_update(rev);
|
fluid_revmodel_update(rev);
|
||||||
}
|
}
|
||||||
|
@ -528,7 +528,7 @@ fluid_revmodel_getlevel(fluid_revmodel_t* rev)
|
||||||
void
|
void
|
||||||
fluid_revmodel_setwidth(fluid_revmodel_t* rev, fluid_real_t value)
|
fluid_revmodel_setwidth(fluid_revmodel_t* rev, fluid_real_t value)
|
||||||
{
|
{
|
||||||
fluid_clip(value, 0.0f, 1.0f);
|
/* fluid_clip(value, 0.0f, 1.0f); */
|
||||||
rev->width = value;
|
rev->width = value;
|
||||||
fluid_revmodel_update(rev);
|
fluid_revmodel_update(rev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue