clap

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

commit 6b38304d082bd718d7095e16a384979a6d46dbcd
parent 157b8099d58b6da45e4e8b72ad1bfa29caf65c77
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Sun,  3 Apr 2022 18:23:02 +0200

audio ports: add a flag to say if 64 bits is supported

Diffstat:
Minclude/clap/ext/audio-ports.h | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/clap/ext/audio-ports.h b/include/clap/ext/audio-ports.h @@ -26,8 +26,11 @@ enum { // Main port must be at index 0. CLAP_AUDIO_PORT_IS_MAIN = 1 << 0, - // The prefers 64 bits audio with this port. - CLAP_AUDIO_PORTS_PREFERS_64BITS = 1 << 1, + // The port can be used with 64 bits audio + CLAP_AUDIO_PORT_SUPPORTS_64BITS = 1 << 1, + + // 64 bits audio is preferred with this port + CLAP_AUDIO_PORTS_PREFERS_64BITS = 1 << 2, }; typedef struct clap_audio_port_info {