Browse Source

Cleanup includes more

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
a792c85cbc
26 changed files with 41 additions and 53 deletions
  1. +1
    -1
      include/color.hpp
  2. +0
    -1
      include/dsp/digital.hpp
  3. +0
    -1
      include/dsp/filter.hpp
  4. +1
    -1
      include/dsp/fir.hpp
  5. +0
    -1
      include/dsp/frame.hpp
  6. +0
    -1
      include/dsp/functions.hpp
  7. +0
    -1
      include/dsp/minblep.hpp
  8. +3
    -4
      include/dsp/resampler.hpp
  9. +1
    -2
      include/dsp/ringbuffer.hpp
  10. +0
    -1
      include/dsp/vumeter.hpp
  11. +1
    -1
      include/engine/Engine.hpp
  12. +1
    -1
      include/engine/Module.hpp
  13. +1
    -1
      include/rtmidi.hpp
  14. +1
    -1
      include/ui/common.hpp
  15. +1
    -1
      include/widgets/Widget.hpp
  16. +4
    -4
      include/window.hpp
  17. +4
    -5
      src/Core/AudioInterface.cpp
  18. +0
    -2
      src/Core/MIDICCToCVInterface.cpp
  19. +0
    -1
      src/Core/MIDITriggerToCVInterface.cpp
  20. +1
    -1
      src/app/Scene.cpp
  21. +2
    -3
      src/engine/Engine.cpp
  22. +2
    -1
      src/main.cpp
  23. +1
    -1
      src/midi.cpp
  24. +9
    -9
      src/plugin/PluginManager.cpp
  25. +2
    -2
      src/widgets/FramebufferWidget.cpp
  26. +5
    -5
      src/window.cpp

+ 1
- 1
include/color.hpp View File

@@ -1,7 +1,7 @@
#pragma once
#include "common.hpp"
#include "string.hpp"
#include "nanovg.h"
#include <nanovg.h>


namespace rack {


+ 0
- 1
include/dsp/digital.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "math.hpp"




+ 0
- 1
include/dsp/filter.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "math.hpp"




+ 1
- 1
include/dsp/fir.hpp View File

@@ -1,6 +1,6 @@
#pragma once
#include "dsp/functions.hpp"
#include "pffft.h"
#include <pffft.h>


namespace rack {


+ 0
- 1
include/dsp/frame.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include <stdlib.h>




+ 0
- 1
include/dsp/functions.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "math.hpp"




+ 0
- 1
include/dsp/minblep.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "math.hpp"




+ 3
- 4
include/dsp/resampler.hpp View File

@@ -1,11 +1,10 @@
#pragma once

#include <assert.h>
#include <string.h>
#include <speex/speex_resampler.h>
#include "frame.hpp"
#include "ringbuffer.hpp"
#include "fir.hpp"
#include <assert.h>
#include <string.h>
#include <speex/speex_resampler.h>


namespace rack {


+ 1
- 2
include/dsp/ringbuffer.hpp View File

@@ -1,7 +1,6 @@
#pragma once

#include <string.h>
#include "common.hpp"
#include <string.h>


namespace rack {


+ 0
- 1
include/dsp/vumeter.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "math.hpp"




+ 1
- 1
include/engine/Engine.hpp View File

@@ -1,8 +1,8 @@
#pragma once
#include <vector>
#include "common.hpp"
#include "engine/Module.hpp"
#include "engine/Wire.hpp"
#include <vector>


namespace rack {


+ 1
- 1
include/engine/Module.hpp View File

@@ -1,10 +1,10 @@
#pragma once
#include <vector>
#include "common.hpp"
#include "engine/Param.hpp"
#include "engine/Input.hpp"
#include "engine/Output.hpp"
#include "engine/Light.hpp"
#include <vector>
#include <jansson.h>




+ 1
- 1
include/rtmidi.hpp View File

@@ -7,7 +7,7 @@
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
#include "rtmidi/RtMidi.h"
#include <rtmidi/RtMidi.h>
#pragma GCC diagnostic pop




+ 1
- 1
include/ui/common.hpp View File

@@ -1,6 +1,6 @@
#pragma once
#include "../common.hpp"
#include "blendish.h"
#include <blendish.h>

#define CHECKMARK_STRING "âś”"
#define CHECKMARK(_cond) ((_cond) ? CHECKMARK_STRING : "")

+ 1
- 1
include/widgets/Widget.hpp View File

@@ -1,10 +1,10 @@
#pragma once
#include <list>
#include "common.hpp"
#include "math.hpp"
#include "window.hpp"
#include "color.hpp"
#include "event.hpp"
#include <list>


namespace rack {


+ 4
- 4
include/window.hpp View File

@@ -4,10 +4,10 @@

#include <memory>
#define GLEW_STATIC
#include "GL/glew.h"
#include "GLFW/glfw3.h"
#include "nanovg.h"
#include "nanosvg.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <nanovg.h>
#include <nanosvg.h>


#ifdef ARCH_MAC


+ 4
- 5
src/Core/AudioInterface.cpp View File

@@ -1,13 +1,12 @@
#include <assert.h>
#include "Core.hpp"
#include "audio.hpp"
#include "dsp/resampler.hpp"
#include "dsp/ringbuffer.hpp"
#include <mutex>
#include <chrono>
#include <thread>
#include <mutex>
#include <condition_variable>
#include "Core.hpp"
#include "audio.hpp"
#include "dsp/resampler.hpp"
#include "dsp/ringbuffer.hpp"


#define AUDIO_OUTPUTS 8


+ 0
- 2
src/Core/MIDICCToCVInterface.cpp View File

@@ -1,8 +1,6 @@
#include "Core.hpp"
#include "midi.hpp"
#include "dsp/filter.hpp"
#include "window.hpp"
#include "event.hpp"


struct MIDICCToCVInterface : Module {


+ 0
- 1
src/Core/MIDITriggerToCVInterface.cpp View File

@@ -1,6 +1,5 @@
#include "Core.hpp"
#include "midi.hpp"
#include "engine/Engine.hpp"
#include "event.hpp"




+ 1
- 1
src/app/Scene.cpp View File

@@ -1,10 +1,10 @@
#include <thread>
#include "osdialog.h"
#include "system.hpp"
#include "network.hpp"
#include "app/Scene.hpp"
#include "app/ModuleBrowser.hpp"
#include "app/RackScrollWidget.hpp"
#include <thread>


namespace rack {


+ 2
- 3
src/engine/Engine.cpp View File

@@ -1,14 +1,13 @@
#include "engine/Engine.hpp"

#include <algorithm>
#include <chrono>
#include <thread>
#include <condition_variable>
#include <mutex>

#include <xmmintrin.h>
#include <pmmintrin.h>

#include "engine/Engine.hpp"


namespace rack {



+ 2
- 1
src/main.cpp View File

@@ -11,8 +11,9 @@
#include "app/Scene.hpp"
#include "tags.hpp"
#include "plugin/PluginManager.hpp"

#include <unistd.h>
#include "osdialog.h"
#include <osdialog.h>

#ifdef ARCH_WIN
#include <Windows.h>


+ 1
- 1
src/midi.cpp View File

@@ -1,5 +1,5 @@
#include "rack.hpp"
#include "midi.hpp"
#include "string.hpp"
#include <map>




+ 9
- 9
src/plugin/PluginManager.cpp View File

@@ -1,3 +1,11 @@
#include "plugin/PluginManager.hpp"
#include "system.hpp"
#include "logger.hpp"
#include "network.hpp"
#include "asset.hpp"
#include "string.hpp"
#include "app/common.hpp"

#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -18,15 +26,7 @@
#include <dlfcn.h>
#endif
#include <dirent.h>

#include "plugin/PluginManager.hpp"
#include "system.hpp"
#include "logger.hpp"
#include "network.hpp"
#include "asset.hpp"
#include "string.hpp"
#include "app/common.hpp"
#include "osdialog.h"
#include <osdialog.h>


namespace rack {


+ 2
- 2
src/widgets/FramebufferWidget.cpp View File

@@ -1,6 +1,6 @@
#include "widgets/FramebufferWidget.hpp"
#include "nanovg_gl.h"
#include "nanovg_gl_utils.h"
#include <nanovg_gl.h>
#include <nanovg_gl_utils.h>


namespace rack {


+ 5
- 5
src/window.cpp View File

@@ -15,21 +15,21 @@
#include <ApplicationServices/ApplicationServices.h>
#endif

#include "osdialog.h"
#include <osdialog.h>

#define NANOVG_GL2_IMPLEMENTATION 1
// #define NANOVG_GL3_IMPLEMENTATION 1
// #define NANOVG_GLES2_IMPLEMENTATION 1
// #define NANOVG_GLES3_IMPLEMENTATION 1
#include "nanovg_gl.h"
#include <nanovg_gl.h>
// Hack to get framebuffer objects working on OpenGL 2 (we blindly assume the extension is supported)
#define NANOVG_FBO_VALID 1
#include "nanovg_gl_utils.h"
#include <nanovg_gl_utils.h>
#define BLENDISH_IMPLEMENTATION
#include "blendish.h"
#include <blendish.h>
#define NANOSVG_IMPLEMENTATION
#define NANOSVG_ALL_COLOR_KEYWORDS
#include "nanosvg.h"
#include <nanosvg.h>


namespace rack {


Loading…
Cancel
Save