commit a04d5d930990ef9647e797e1cb904ca524a1aa30
parent 35260e023ca9cdda9a6f5d4c9f90c8181d101fe0
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Mon, 24 Jan 2022 17:14:33 +0100
Save 4 bytes of alignment
Fixes #53
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -191,14 +191,14 @@ typedef struct clap_event_transport {
alignas(8) double tempo_inc; // tempo increment for each samples and until the next
// time info event
- alignas(8) clap_beattime bar_start; // start pos of the current bar
- alignas(4) int32_t bar_number; // bar at song pos 0 has the number 0
-
alignas(8) clap_beattime loop_start_beats;
alignas(8) clap_beattime loop_end_beats;
alignas(8) clap_sectime loop_start_seconds;
alignas(8) clap_sectime loop_end_seconds;
+ alignas(8) clap_beattime bar_start; // start pos of the current bar
+ alignas(4) int32_t bar_number; // bar at song pos 0 has the number 0
+
alignas(2) int16_t tsig_num; // time signature numerator
alignas(2) int16_t tsig_denom; // time signature denominator
} clap_event_transport_t;