Пример #1
0
static void dev_get_display_value_string(SoundPlugin *plugin, int effect_num, char *buffer, int buffersize){
  Devdata *devdata = (Devdata*)plugin->data;
  Data *data = devdata->reply.data;
  
  if (data==NULL || effect_num >= get_num_effects(data)){
    snprintf(buffer,buffersize," ");
    return;
  }

  get_display_value_string2(data, effect_num, buffer, buffersize);
}
Пример #2
0
static void get_display_value_string(struct SoundPlugin *plugin, int effect_num, char *buffer, int buffersize){
  Data *data = (Data*)plugin->data;
  get_display_value_string2(data, effect_num, buffer, buffersize);
}