GBA Audio: #define some macros BEFORE we use them

This commit is contained in:
Jeffrey Pfau 2015-03-30 02:22:29 -07:00
parent cab9f3343b
commit 8fcd095b03
1 changed files with 3 additions and 3 deletions

View File

@ -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);