mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
constness
This commit is contained in:
parent
c46e910887
commit
0637e7086b
2 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ fluid_mod_get_amount(const fluid_mod_t *mod)
|
|||
* @return number of modulators.
|
||||
* Must be > 1 for complex modulator and 1 for unlinked modulator.
|
||||
*/
|
||||
unsigned char fluid_get_num_mod(fluid_mod_t *mod)
|
||||
unsigned char fluid_get_num_mod(const fluid_mod_t *mod)
|
||||
{
|
||||
unsigned char count =0;
|
||||
do
|
||||
|
|
|
@ -50,7 +50,7 @@ struct _fluid_mod_t
|
|||
/* bit link of destination in fluidsynth modulators */
|
||||
#define FLUID_MOD_LINK_DEST (1 << 7) /* Link is bit 7 of destination */
|
||||
|
||||
unsigned char fluid_get_num_mod(fluid_mod_t *mod);
|
||||
unsigned char fluid_get_num_mod(const fluid_mod_t *mod);
|
||||
int fluid_get_count_mod(const fluid_mod_t *mod);
|
||||
|
||||
fluid_mod_t *fluid_get_next_mod(fluid_mod_t *mod);
|
||||
|
|
Loading…
Reference in a new issue