summaryrefslogtreecommitdiff
path: root/src/audio/effects.h
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2026-09-16 09:01:55 -0600
committerGitHub <noreply@github.com>2026-09-16 09:01:55 -0600
commit60ac50c9628d25968bfe367e1b4b6f030078be64 (patch)
treee03a0d825cfe443adcf076cb643c20692151f431 /src/audio/effects.h
parent7adfdaa9abb18d76ae80f26bff58c2c4dc4f3f29 (diff)
parent8fb42e50d70356300050048b57def3123e6d4552 (diff)
Merge branch 'main' into Caladius-patch-1Caladius-patch-1
Diffstat (limited to 'src/audio/effects.h')
-rw-r--r--src/audio/effects.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/audio/effects.h b/src/audio/effects.h
index 8c7712825..a10673207 100644
--- a/src/audio/effects.h
+++ b/src/audio/effects.h
@@ -26,13 +26,7 @@
#define ADSR_GOTO -2
#define ADSR_RESTART -3
-// Envelopes are always stored as big endian, to match sequence files which are
-// byte blobs and can embed envelopes. Hence this byteswapping macro.
-#if IS_BIG_ENDIAN
-#define BSWAP16(x) (x)
-#else
-#define BSWAP16(x) (((x) & 0xff) << 8 | (((x) >> 8) & 0xff))
-#endif
+#include <macros.h>
void sequence_channel_process_sound(struct SequenceChannel* seqChannel, s32 recalculateVolume);
void sequence_player_process_sound(struct SequencePlayer* seqPlayer);