mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
ARM RTMidiBuffer alignment
This commit is contained in:
parent
5abe677fea
commit
f52c5ca3ac
1 changed files with 5 additions and 1 deletions
|
|
@ -381,7 +381,11 @@ RTMidiBuffer::alloc_blob (uint32_t size)
|
|||
}
|
||||
|
||||
uint32_t offset = _pool_size;
|
||||
_pool_size += size;
|
||||
#if defined(__arm__) || defined(__aarch64_
|
||||
_pool_size += size + size % 4;
|
||||
#else
|
||||
_pool_size += size;
|
||||
#endif
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue