clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit deb30e8bc56b0d9fed49d59cb586f20c339c81a2
parent 5f498e6150cf43b4e9e0db5ae3a9149493567ed0
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Sun, 30 Nov 2014 22:43:54 +0100

ext/params: shorter methods

Diffstat:
Minclude/clap/ext/params.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h @@ -43,13 +43,13 @@ struct clap_param struct clap_plugin_params { /* Returns the number of parameters. */ - uint32_t (*get_params_count)(struct clap_plugin *plugin); + uint32_t (*count)(struct clap_plugin *plugin); /* Copies the parameter's info to param and returns true. * If index is greater or equal to the number then return false. */ - bool (*get_param)(struct clap_plugin *plugin, - uint32_t index, - struct clap_param *param); + bool (*get)(struct clap_plugin *plugin, + uint32_t index, + struct clap_param *param); }; #endif /* !CLAP_EXT_PARAMS_H */