fix: use fixed-size integer types for custom types

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2023-05-22 19:04:25 +02:00
parent e06f62da8c
commit ada9b13857
1 changed files with 6 additions and 5 deletions

View File

@ -24,14 +24,15 @@ const
JACK_DEFAULT_AUDIO_TYPE* = "32 bit float mono audio" JACK_DEFAULT_AUDIO_TYPE* = "32 bit float mono audio"
JACK_DEFAULT_MIDI_TYPE* = "8 bit raw midi" JACK_DEFAULT_MIDI_TYPE* = "8 bit raw midi"
# ----------------------------- Custom Types ------------------------------ # ----------------------------- Custom Types ------------------------------
type type
Time* = culonglong Time* = uint64
NFrames* = culong NFrames* = uint32
Uuid* = culonglong Uuid* = uint64
PortId* = culong PortId* = uint32
PortTypeId* = culong PortTypeId* = uint32
DefaultAudioSample* = cfloat DefaultAudioSample* = cfloat
type type