Merge pull request #1307 from Kurausukun/channel_constant

use constant for max directsound channels
This commit is contained in:
GriffinR 2021-01-16 08:31:34 -05:00 committed by GitHub
commit 6c91534304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
.equiv ID_NUMBER, 0x68736d53 .equiv ID_NUMBER, 0x68736d53
.equiv PCM_DMA_BUF_SIZE, 1584 .equiv PCM_DMA_BUF_SIZE, 1584
.equiv MAX_DIRECTSOUND_CHANNELS, 12
.equiv C_V, 0x40 .equiv C_V, 0x40
@ -93,7 +94,7 @@
struct_field o_SoundInfo_plynote, 4 struct_field o_SoundInfo_plynote, 4
struct_field o_SoundInfo_ExtVolPit, 4 struct_field o_SoundInfo_ExtVolPit, 4
struct_field o_SoundInfo_gap2, 16 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 o_SoundInfo_pcmBuffer, PCM_DMA_BUF_SIZE * 2
struct_field SoundInfo_size, 0 struct_field SoundInfo_size, 0