clap

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

commit cceb4a88d3465601824914c7ed132a4e93ea1de2
parent 32a0d898ab52908834d7eb01ef45dcbec9fbc017
Author: Tim Janik <timj@gnu.org>
Date:   Sat, 13 Aug 2022 04:55:53 +0200

INCLUDE: clap/ext/draft/file-reference.h: document save_resources()

Based on a discussion with Alexandre Bique.

Signed-off-by: Tim Janik <timj@gnu.org>

Diffstat:
Minclude/clap/ext/draft/file-reference.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/clap/ext/draft/file-reference.h b/include/clap/ext/draft/file-reference.h @@ -67,6 +67,8 @@ typedef struct clap_plugin_file_reference { // [main-thread] bool (*update_path)(const clap_plugin_t *plugin, clap_id resource_id, const char *path); + // Request all pending changes to be flushed to disk (e.g. for destructive + // sample editor plugins), needed during "collect and save". // [main-thread] bool (*save_resources)(const clap_plugin_t *plugin); } clap_plugin_file_reference_t;