mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add alignment hints to types stored in containers
This commit is contained in:
@@ -161,7 +161,7 @@ struct YaScaleEvent {
|
||||
* A wrapper around `Event` for serialization purposes, as some event types
|
||||
* include heap pointers.
|
||||
*/
|
||||
struct YaEvent {
|
||||
struct alignas(16) YaEvent {
|
||||
YaEvent() noexcept;
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* a single parameter during the current processing cycle. Used in
|
||||
* `YaParameterChanges`.
|
||||
*/
|
||||
class YaParamValueQueue : public Steinberg::Vst::IParamValueQueue {
|
||||
class alignas(16) YaParamValueQueue : public Steinberg::Vst::IParamValueQueue {
|
||||
public:
|
||||
/**
|
||||
* We only provide a default constructor here, because we need to fill the
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
*
|
||||
* @see YaProcessData
|
||||
*/
|
||||
class YaAudioBusBuffers {
|
||||
class alignas(16) YaAudioBusBuffers {
|
||||
public:
|
||||
/**
|
||||
* We only provide a default constructor here, because we need to fill the
|
||||
|
||||
Reference in New Issue
Block a user