mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-11 06:42:11 +02:00
Move VectorStream to a new YaBStream
We'll have to extend this with `IStreamAttributes` for VST 3.6.0 preset meta data.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "../../common.h"
|
||||
#include "../base.h"
|
||||
#include "../bstream.h"
|
||||
#include "../component-handler-proxy.h"
|
||||
#include "../plug-view-proxy.h"
|
||||
|
||||
@@ -73,7 +74,7 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
|
||||
native_size_t instance_id;
|
||||
|
||||
VectorStream state;
|
||||
YaBStream state;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "../../common.h"
|
||||
#include "../base.h"
|
||||
#include "../bstream.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
@@ -89,7 +90,7 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
||||
*/
|
||||
struct GetProgramDataResponse {
|
||||
UniversalTResult result;
|
||||
VectorStream data;
|
||||
YaBStream data;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
@@ -136,7 +137,7 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
||||
|
||||
Steinberg::Vst::ProgramListID list_id;
|
||||
int32 program_index;
|
||||
VectorStream data;
|
||||
YaBStream data;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "../../common.h"
|
||||
#include "../base.h"
|
||||
#include "../bstream.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
@@ -88,7 +89,7 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
||||
*/
|
||||
struct GetUnitDataResponse {
|
||||
UniversalTResult result;
|
||||
VectorStream data;
|
||||
YaBStream data;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
@@ -129,7 +130,7 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
||||
native_size_t instance_id;
|
||||
|
||||
Steinberg::Vst::UnitID unit_id;
|
||||
VectorStream data;
|
||||
YaBStream data;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "../../common.h"
|
||||
#include "../base.h"
|
||||
#include "../bstream.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
@@ -420,7 +421,7 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo {
|
||||
|
||||
int32 list_or_unit_id;
|
||||
int32 program_index;
|
||||
VectorStream data;
|
||||
YaBStream data;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "../../common.h"
|
||||
#include "../base.h"
|
||||
#include "../bstream.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
@@ -75,7 +76,7 @@ class YaXmlRepresentationController
|
||||
*/
|
||||
struct GetXmlRepresentationStreamResponse {
|
||||
UniversalTResult result;
|
||||
VectorStream stream;
|
||||
YaBStream stream;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
Reference in New Issue
Block a user