clap

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

commit 583177dff0aa25d6ecbfac23783534e89aac4d3f
parent 955046cd0f36da65732f9a299db8edbf17ebce6d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Tue, 16 Jan 2024 10:21:35 +0100

Leave a note regarding endianness

Diffstat:
Minclude/clap/plugin-id.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/clap/plugin-id.h b/include/clap/plugin-id.h @@ -13,5 +13,8 @@ typedef struct clap_plugin_id { // const uint8_t * data = (const uint8_t *)&binary_id; // char *buffer = malloc(2 * sizeof(binary_id) + 1); // hex_encode(data, sizeof (binary_id), buffer); + // + // Note: if the binary id is sensible to the CPU endianness, the encoded id will be too. + // As a result, the id should be decoded immediately by the consumer. const char *id; } clap_plugin_id_t;