clap

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

commit 6bca82f9dbf99b471e478cac54721cc66eea951c
parent fa6e17f83cc638eac3bbc6fa7febd83b2fb85754
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Fri,  9 Jul 2021 10:38:04 +0200

Use double for the sample rate instead


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

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -1,4 +1,4 @@ -/* +/* * CLAP - CLever Audio Plugin * ~~~~~~~~~~~~~~~~~~~~~~~~~~ * @@ -182,7 +182,7 @@ typedef struct clap_plugin { /* activation/deactivation * [main-thread] */ - bool (*activate)(const struct clap_plugin *plugin, int sample_rate); + bool (*activate)(const struct clap_plugin *plugin, double sample_rate); void (*deactivate)(const struct clap_plugin *plugin); // Set to true before processing, and to false before sending the plugin to sleep.