Browse Source

Fix build, add SDL2 stuff for CI testing

Signed-off-by: falkTX <falktx@falktx.com>
pull/417/head
falkTX 2 years ago
parent
commit
ed3bc5f869
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      .github/workflows/makefile.yml
  2. +1
    -0
      distrho/src/jackbridge/RtAudioBridge.hpp
  3. +1
    -0
      distrho/src/jackbridge/SDL2Bridge.hpp

+ 1
- 1
.github/workflows/makefile.yml View File

@@ -20,7 +20,7 @@ jobs:
- name: Set up dependencies - name: Set up dependencies
run: | run: |
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get install -yq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev xvfb
sudo apt-get install -yq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev xvfb
- name: Without any warnings - name: Without any warnings
env: env:
CFLAGS: -Werror CFLAGS: -Werror


+ 1
- 0
distrho/src/jackbridge/RtAudioBridge.hpp View File

@@ -52,6 +52,7 @@
# include "../../extra/String.hpp" # include "../../extra/String.hpp"
# include "../../extra/ScopedDenormalDisable.hpp" # include "../../extra/ScopedDenormalDisable.hpp"


using DISTRHO_NAMESPACE::ScopedDenormalDisable;
using DISTRHO_NAMESPACE::ScopedPointer; using DISTRHO_NAMESPACE::ScopedPointer;
using DISTRHO_NAMESPACE::String; using DISTRHO_NAMESPACE::String;




+ 1
- 0
distrho/src/jackbridge/SDL2Bridge.hpp View File

@@ -224,6 +224,7 @@ struct SDL2Bridge : NativeBridge {


#if DISTRHO_PLUGIN_NUM_OUTPUTS == 0 #if DISTRHO_PLUGIN_NUM_OUTPUTS == 0
// if there are no outputs, run process callback now // if there are no outputs, run process callback now
const ScopedDenormalDisable sdd;
self->jackProcessCallback(numFrames, self->jackProcessArg); self->jackProcessCallback(numFrames, self->jackProcessArg);
#endif #endif
} }


Loading…
Cancel
Save