BogaudioModules

BogaudioModules for VCV Rack
Log | Files | Refs | README | LICENSE

commit 49ce45de6215fddf816025c63472c7072bbca89d
parent ba54b6a5f93123bf7041eb2b7843c22a8210bd2b
Author: Matt Demanett <matt@demanett.net>
Date:   Fri,  5 Jan 2018 00:33:48 -0500

Rearrange includes, with an eye towards avoiding future iterations of issue #6.

Diffstat:
Msrc/Analyzer.cpp | 4+---
Msrc/BogaudioModules.hpp | 8++++++++
Msrc/DADSRHCore.cpp | 1-
Msrc/DADSRHCore.hpp | 1-
Msrc/DGate.cpp | 1-
Msrc/Manual.cpp | 1-
Msrc/Reftone.cpp | 3---
Msrc/SampleHold.cpp | 1-
Msrc/ShaperCore.cpp | 1-
Msrc/ShaperCore.hpp | 2+-
10 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/src/Analyzer.cpp b/src/Analyzer.cpp @@ -1,8 +1,6 @@ -#include <algorithm> - -#include "dsp/dsp.hpp" #include "BogaudioModules.hpp" +#include "dsp/dsp.hpp" using namespace bogaudio::dsp; diff --git a/src/BogaudioModules.hpp b/src/BogaudioModules.hpp @@ -1,4 +1,12 @@ + +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <math.h> +#include <algorithm> + #include "rack.hpp" +#include "dsp/digital.hpp" #include "widgets.hpp" using namespace rack; diff --git a/src/DADSRHCore.cpp b/src/DADSRHCore.cpp @@ -1,5 +1,4 @@ -#include <math.h> #include "DADSRHCore.hpp" void DADSRHCore::reset() { diff --git a/src/DADSRHCore.hpp b/src/DADSRHCore.hpp @@ -1,5 +1,4 @@ -#include "dsp/digital.hpp" #include "BogaudioModules.hpp" struct DADSRHCore { diff --git a/src/DGate.cpp b/src/DGate.cpp @@ -1,5 +1,4 @@ -#include "dsp/digital.hpp" #include "BogaudioModules.hpp" struct DGate : Module { diff --git a/src/Manual.cpp b/src/Manual.cpp @@ -1,5 +1,4 @@ -#include "dsp/digital.hpp" #include "BogaudioModules.hpp" struct Manual : Module { diff --git a/src/Reftone.cpp b/src/Reftone.cpp @@ -1,7 +1,4 @@ -#include <string.h> -#include <algorithm> - #include "BogaudioModules.hpp" #include "dsp/dsp.hpp" diff --git a/src/SampleHold.cpp b/src/SampleHold.cpp @@ -1,5 +1,4 @@ -#include "dsp/digital.hpp" #include "BogaudioModules.hpp" #include "dsp/dsp.hpp" diff --git a/src/ShaperCore.cpp b/src/ShaperCore.cpp @@ -1,5 +1,4 @@ -#include <math.h> #include "ShaperCore.hpp" void ShaperCore::reset() { diff --git a/src/ShaperCore.hpp b/src/ShaperCore.hpp @@ -1,4 +1,4 @@ -#include "dsp/digital.hpp" + #include "BogaudioModules.hpp" struct ShaperCore {