summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/music_voice.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/asm/macros/music_voice.s b/asm/macros/music_voice.s
index 9a95d69f4..357ee3b3f 100644
--- a/asm/macros/music_voice.s
+++ b/asm/macros/music_voice.s
@@ -111,3 +111,17 @@
.4byte \voice_group_pointer
.4byte 0
.endm
+
+ .macro directsound_looped pitch_adjust, loop_start_sample_index, num_samples
+ .4byte 0x40000000
+ .4byte \pitch_adjust
+ .4byte \loop_start_sample_index
+ .4byte \num_samples
+ .endm
+
+ .macro directsound_not_looped pitch_adjust, num_samples
+ .4byte 0x0
+ .4byte \pitch_adjust
+ .4byte 0x0
+ .4byte \num_samples
+ .endm