mirror of https://github.com/mgba-emu/mgba.git
GBA Audio: #define some macros BEFORE we use them
This commit is contained in:
parent
cab9f3343b
commit
8fcd095b03
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue