GBA Audio: #define some macros BEFORE we use them
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Mar 2015 02:22:29 -0700
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/gba/audio.h
→
src/gba/audio.h
@@ -11,6 +11,9 @@ #include "macros.h"
#include "util/circle-buffer.h" +#define RESAMPLE_NN 0 +#define RESAMPLE_BLIP_BUF 2 + #if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF #include "third-party/blip_buf/blip_buf.h" #endif@@ -18,9 +21,6 @@
struct GBADMA; extern const unsigned GBA_AUDIO_SAMPLES; - -#define RESAMPLE_NN 0 -#define RESAMPLE_BLIP_BUF 2 DECL_BITFIELD(GBAAudioRegisterEnvelope, uint16_t); DECL_BITS(GBAAudioRegisterEnvelope, Length, 0, 6);