Browse Source

Update to try/test VST3 validation fixes

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.6
falkTX 2 years ago
parent
commit
f17d49adfd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
8 changed files with 38 additions and 4 deletions
  1. +7
    -2
      .github/workflows/build.yml
  2. +5
    -0
      dpf/dgl/src/nanovg/nanovg.c
  3. +7
    -0
      plugins/3BandEQ/DistrhoPlugin3BandEQ.cpp
  4. +1
    -0
      plugins/3BandEQ/DistrhoPlugin3BandEQ.hpp
  5. +8
    -1
      plugins/MVerb/DistrhoPluginMVerb.cpp
  6. +2
    -1
      plugins/MVerb/DistrhoPluginMVerb.hpp
  7. +7
    -0
      plugins/PingPongPan/DistrhoPluginPingPongPan.cpp
  8. +1
    -0
      plugins/PingPongPan/DistrhoPluginPingPongPan.hpp

+ 7
- 2
.github/workflows/build.yml View File

@@ -1,7 +1,12 @@
name: build

on: [push]

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1


+ 5
- 0
dpf/dgl/src/nanovg/nanovg.c View File

@@ -2592,6 +2592,11 @@ float nvgText(NVGcontext* ctx, float x, float y, const char* string, const char*
nvgTransformPoint(&c[6],&c[7], state->xform, q.x0*invscale, q.y1*invscale);
// Create triangles
if (nverts+6 <= cverts) {
#if NVG_FONT_TEXTURE_FLAGS
// align font kerning to integer pixel positions
for (int i = 0; i < 8; ++i)
c[i] = (int)(c[i] + 0.5f);
#endif
nvg__vset(&verts[nverts], c[0], c[1], q.s0, q.t0); nverts++;
nvg__vset(&verts[nverts], c[4], c[5], q.s1, q.t1); nverts++;
nvg__vset(&verts[nverts], c[2], c[3], q.s1, q.t0); nverts++;


+ 7
- 0
plugins/3BandEQ/DistrhoPlugin3BandEQ.cpp View File

@@ -40,6 +40,13 @@ DistrhoPlugin3BandEQ::DistrhoPlugin3BandEQ()
// -----------------------------------------------------------------------
// Init
void DistrhoPlugin3BandEQ::initAudioPort(bool input, uint32_t index, AudioPort& port)
{
port.groupId = kPortGroupStereo;
Plugin::initAudioPort(input, index, port);
}
void DistrhoPlugin3BandEQ::initParameter(uint32_t index, Parameter& parameter)
{
switch (index)


+ 1
- 0
plugins/3BandEQ/DistrhoPlugin3BandEQ.hpp View File

@@ -82,6 +82,7 @@ protected:
// -------------------------------------------------------------------
// Init
void initAudioPort(bool input, uint32_t index, AudioPort& port) override;
void initParameter(uint32_t index, Parameter& parameter) override;
void initProgramName(uint32_t index, String& programName) override;


+ 8
- 1
plugins/MVerb/DistrhoPluginMVerb.cpp View File

@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -34,6 +34,13 @@ DistrhoPluginMVerb::DistrhoPluginMVerb()
// -----------------------------------------------------------------------
// Init
void DistrhoPluginMVerb::initAudioPort(bool input, uint32_t index, AudioPort& port)
{
port.groupId = kPortGroupStereo;
Plugin::initAudioPort(input, index, port);
}
void DistrhoPluginMVerb::initParameter(uint32_t index, Parameter& parameter)
{
parameter.unit = "%";


+ 2
- 1
plugins/MVerb/DistrhoPluginMVerb.hpp View File

@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -73,6 +73,7 @@ protected:
// -------------------------------------------------------------------
// Init
void initAudioPort(bool input, uint32_t index, AudioPort& port) override;
void initParameter(uint32_t index, Parameter& parameter) override;
void initProgramName(uint32_t index, String& programName) override;


+ 7
- 0
plugins/PingPongPan/DistrhoPluginPingPongPan.cpp View File

@@ -38,6 +38,13 @@ DistrhoPluginPingPongPan::DistrhoPluginPingPongPan()
// -----------------------------------------------------------------------
// Init
void DistrhoPluginPingPongPan::initAudioPort(bool input, uint32_t index, AudioPort& port)
{
port.groupId = kPortGroupStereo;
Plugin::initAudioPort(input, index, port);
}
void DistrhoPluginPingPongPan::initParameter(uint32_t index, Parameter& parameter)
{
switch (index)


+ 1
- 0
plugins/PingPongPan/DistrhoPluginPingPongPan.hpp View File

@@ -78,6 +78,7 @@ protected:
// -------------------------------------------------------------------
// Init
void initAudioPort(bool input, uint32_t index, AudioPort& port) override;
void initParameter(uint32_t index, Parameter& parameter) override;
void initProgramName(uint32_t index, String& programName) override;


Loading…
Cancel
Save