diff --git a/src/gba/audio.h b/src/gba/audio.h index 2aa5953e5..91cc84b1b 100644 --- a/src/gba/audio.h +++ b/src/gba/audio.h @@ -11,6 +11,9 @@ #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 @@ -19,9 +22,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); DECL_BITS(GBAAudioRegisterEnvelope, Duty, 6, 2);