commit fb11675884a0fe166708e8887e9cdfda22d2f56e
parent 5835cd7918ea65fe030e881b4836ab8e0545a357
Author: falkTX <falktx@falktx.com>
Date: Wed, 29 Dec 2021 14:40:15 +0000
Partially revert last commit, state seeking is not wanted
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/distrho/src/DistrhoPluginVST3.cpp b/distrho/src/DistrhoPluginVST3.cpp
@@ -692,9 +692,6 @@ public:
buffer[sizeof(buffer)-1] = '\xff';
v3_result res;
- // int64_t ignore = 0;
- // v3_cpp_obj(stream)->seek(stream, 0, V3_SEEK_SET, &ignore);
-
for (int32_t pos = 0, term = 0, read; term == 0; pos += read)
{
res = v3_cpp_obj(stream)->read(stream, buffer, sizeof(buffer)-1, &read);
@@ -894,9 +891,6 @@ public:
const uint32_t stateCount = 0;
#endif
- int64_t ignore = 0;
- v3_cpp_obj(stream)->seek(stream, 0, V3_SEEK_SET, &ignore);
-
if (stateCount == 0 && paramCount == 0)
{
char buffer = '\0';