Compare commits

...

2 Commits

Author SHA1 Message Date
Gordon JC Pearce
c0452d4de0 build actions for github
Some checks are pending
build / linux (linux-arm64) (push) Waiting to run
build / linux (linux-armhf) (push) Waiting to run
build / linux (linux-i686) (push) Waiting to run
build / linux (linux-riscv64) (push) Waiting to run
build / linux (linux-x86_64) (push) Waiting to run
build / macos (macos-intel) (push) Waiting to run
build / macos (macos-universal) (push) Waiting to run
build / windows (win32) (push) Waiting to run
build / windows (win64) (push) Waiting to run
2025-01-08 21:47:33 +00:00
Gordon JC Pearce
6f2cd274a5 update readme and makefile for other plugin formats 2025-01-08 21:47:03 +00:00
4 changed files with 66 additions and 4 deletions

53
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,53 @@
name: build
on: [push, pull_request]
jobs:
linux:
strategy:
matrix:
target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
macos:
strategy:
matrix:
target: [macos-intel, macos-universal]
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
windows:
strategy:
matrix:
target: [win32, win64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
# pluginval:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - uses: distrho/dpf-makefile-action@v1
# with:
# target: pluginval

View File

@ -20,7 +20,16 @@ and build alphaOsc:
make
This will compile the jack standalone version and LV2 version. It ought to be possible to also compile VST/VST3 and AU versions but these have not yet been tested.
This will compile the jack standalone version, and LV2, VST2, and VST3 versions. It ought to be possible to also compile VST/VST3 and AU versions for Windows and Mac OS but these have not yet been tested. The github runner currently reports them as successfully built.
Windows versions may be built with:
( cd dpf; make clean ) # note the brackets
make clean
make mingw64
# or make mingw32 if you want 32-bit
This appears to work, in limited testing.
Installing
----------

View File

@ -24,6 +24,6 @@ SKIP_NATIVE_AUDIO_FALLBACK = true
include ../dpf/Makefile.plugins.mk
TARGETS += jack lv2_sep
TARGETS += jack lv2_sep vst2 vst3
all: $(TARGETS)

View File

@ -39,7 +39,7 @@ void AlphaOsc::activate() {
// Processing function
void AlphaOsc::run(const float **, float **outputs, uint32_t frames, const MidiEvent *midiEvents, uint32_t midiEventCount) {
bzero(outputs[0], sizeof(float) * frames);
memset(outputs[0], 0, sizeof(float) * frames);
// cast unused parameters to void for now to stop the compiler complaining
//(void)midiEventCount;