예제 #1
0
static void dev_set_effect_value(struct SoundPlugin *plugin, int time, int effect_num, float value, enum ValueFormat value_format, FX_when when){
  Devdata *devdata = (Devdata*)plugin->data;
  Data *data = devdata->reply.data;
  
  if (data != NULL)
    if (effect_num < get_num_effects(data))
      set_effect_value2(data, effect_num, value, value_format, when);
}
예제 #2
0
static void set_effect_value(struct SoundPlugin *plugin, int time, int effect_num, float value, enum ValueFormat value_format, FX_when when){
  Data *data = (Data*)plugin->data;
  set_effect_value2(data, effect_num, value, value_format, when);
}