mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +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
|
* A wrapper around `Event` for serialization purposes, as some event types
|
||||||
* include heap pointers.
|
* include heap pointers.
|
||||||
*/
|
*/
|
||||||
struct YaEvent {
|
struct alignas(16) YaEvent {
|
||||||
YaEvent() noexcept;
|
YaEvent() noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
* a single parameter during the current processing cycle. Used in
|
* a single parameter during the current processing cycle. Used in
|
||||||
* `YaParameterChanges`.
|
* `YaParameterChanges`.
|
||||||
*/
|
*/
|
||||||
class YaParamValueQueue : public Steinberg::Vst::IParamValueQueue {
|
class alignas(16) YaParamValueQueue : public Steinberg::Vst::IParamValueQueue {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* We only provide a default constructor here, because we need to fill the
|
* We only provide a default constructor here, because we need to fill the
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
*
|
*
|
||||||
* @see YaProcessData
|
* @see YaProcessData
|
||||||
*/
|
*/
|
||||||
class YaAudioBusBuffers {
|
class alignas(16) YaAudioBusBuffers {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* We only provide a default constructor here, because we need to fill the
|
* We only provide a default constructor here, because we need to fill the
|
||||||
|
|||||||
Reference in New Issue
Block a user