summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-16 08:31:34 -0500
committerGitHub <noreply@github.com>2021-01-16 08:31:34 -0500
commit6c91534304a1d8631a5a656905f062167431753d (patch)
tree8346e51fb619ed10f5a9413c9863d8785e5b7d16
parentf19d1b25906f32e291d795a52c62933860a133e9 (diff)
parentc96a52b1f7f95a11cefcc4d0da5b0c845e56f300 (diff)
Merge pull request #1307 from Kurausukun/channel_constant
use constant for max directsound channels
-rw-r--r--constants/m4a_constants.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/constants/m4a_constants.inc b/constants/m4a_constants.inc
index 08d888acd..1a744dc7f 100644
--- a/constants/m4a_constants.inc
+++ b/constants/m4a_constants.inc
@@ -1,6 +1,7 @@
.equiv ID_NUMBER, 0x68736d53
.equiv PCM_DMA_BUF_SIZE, 1584
+ .equiv MAX_DIRECTSOUND_CHANNELS, 12
.equiv C_V, 0x40
@@ -93,7 +94,7 @@
struct_field o_SoundInfo_plynote, 4
struct_field o_SoundInfo_ExtVolPit, 4
struct_field o_SoundInfo_gap2, 16
- struct_field o_SoundInfo_chans, 768
+ struct_field o_SoundInfo_chans, MAX_DIRECTSOUND_CHANNELS * 64
struct_field o_SoundInfo_pcmBuffer, PCM_DMA_BUF_SIZE * 2
struct_field SoundInfo_size, 0