mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
ARM 32bit enum alignment (used in MIDIBuffer)
Evoral::EventType is written directly into a uint8_t buffer by dereferncing a pointer-type: *(reinterpret_cast<Evoral::EventType*>((uintptr_t)...)
This commit is contained in:
parent
37ec50cbf8
commit
7e1ce160e9
1 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,10 @@ typedef int32_t event_id_t;
|
||||||
enum EventType {
|
enum EventType {
|
||||||
NO_EVENT,
|
NO_EVENT,
|
||||||
MIDI_EVENT,
|
MIDI_EVENT,
|
||||||
LIVE_MIDI_EVENT
|
LIVE_MIDI_EVENT,
|
||||||
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
|
_Force32BitAlignment = 0xffffffff
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Type of a parameter (opaque, mapped by application, e.g. gain) */
|
/** Type of a parameter (opaque, mapped by application, e.g. gain) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue