Skip to content

Commit 555e6c3

Browse files
committed
Fix win32 CI setup; Set audio port group hints
Signed-off-by: falkTX <falktx@falktx.com>
1 parent da4ee81 commit 555e6c3

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
run: |
2323
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
2424
sudo apt-get update -qq
25-
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
25+
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
26+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
2627
- name: Set up dependencies
2728
run: |
2829
sudo dpkg --add-architecture arm64
@@ -60,7 +61,8 @@ jobs:
6061
run: |
6162
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
6263
sudo apt-get update -qq
63-
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
64+
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
65+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
6466
- name: Set up dependencies
6567
run: |
6668
sudo dpkg --add-architecture armhf
@@ -98,7 +100,8 @@ jobs:
98100
run: |
99101
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
100102
sudo apt-get update -qq
101-
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
103+
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
104+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
102105
- name: Set up dependencies
103106
run: |
104107
sudo dpkg --add-architecture i386
@@ -193,7 +196,8 @@ jobs:
193196
run: |
194197
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
195198
sudo apt-get update -qq
196-
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
199+
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
200+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
197201
- name: Set up dependencies
198202
run: |
199203
sudo dpkg --add-architecture i386
@@ -226,6 +230,12 @@ jobs:
226230
- uses: actions/checkout@v2
227231
with:
228232
submodules: recursive
233+
- name: Fix GitHub's mess
234+
run: |
235+
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
236+
sudo apt-get update -qq
237+
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
238+
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
229239
- name: Set up dependencies
230240
run: |
231241
sudo apt-get update -qq

dpf

Submodule dpf updated 133 files

plugins/Nekobi/DistrhoPluginInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
3-
* Copyright (C) 2013-2015 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2013-2022 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU General Public License as

plugins/Nekobi/DistrhoPluginNekobi.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
33
* Copyright (C) 2004 Sean Bolton and others
4-
* Copyright (C) 2013-2015 Filipe Coelho <falktx@falktx.com>
4+
* Copyright (C) 2013-2022 Filipe Coelho <falktx@falktx.com>
55
*
66
* This program is free software; you can redistribute it and/or
77
* modify it under the terms of the GNU General Public License as
@@ -158,6 +158,13 @@ DistrhoPluginNekobi::~DistrhoPluginNekobi()
158158
// -----------------------------------------------------------------------
159159
// Init
160160

161+
void DistrhoPluginNekobi::initAudioPort(bool input, uint32_t index, AudioPort& port)
162+
{
163+
port.groupId = kPortGroupMono;
164+
165+
Plugin::initAudioPort(input, index, port);
166+
}
167+
161168
void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
162169
{
163170
switch (index)

plugins/Nekobi/DistrhoPluginNekobi.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
33
* Copyright (C) 2004 Sean Bolton and others
4-
* Copyright (C) 2013-2015 Filipe Coelho <falktx@falktx.com>
4+
* Copyright (C) 2013-2022 Filipe Coelho <falktx@falktx.com>
55
*
66
* This program is free software; you can redistribute it and/or
77
* modify it under the terms of the GNU General Public License as
@@ -90,6 +90,7 @@ class DistrhoPluginNekobi : public Plugin
9090
// -------------------------------------------------------------------
9191
// Init
9292

93+
void initAudioPort(bool input, uint32_t index, AudioPort& port) override;
9394
void initParameter(uint32_t index, Parameter& parameter) override;
9495

9596
// -------------------------------------------------------------------

0 commit comments

Comments
 (0)