diff options
author | twinaphex | 2017-08-14 08:06:11 +0200 |
---|---|---|
committer | twinaphex | 2017-08-14 08:06:11 +0200 |
commit | 78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch) | |
tree | 522343d835ca7eec5ebae18c20ec35ac768250be /source/soundux.c | |
parent | 75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff) | |
download | snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2 snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip |
C++ comments need to become C
Diffstat (limited to 'source/soundux.c')
-rw-r--r-- | source/soundux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/soundux.c b/source/soundux.c index f053290..90cf18e 100644 --- a/source/soundux.c +++ b/source/soundux.c @@ -31,7 +31,7 @@ extern int32_t MixBuffer [SOUND_BUFFER_SIZE]; extern int32_t EchoBuffer [SOUND_BUFFER_SIZE]; extern int32_t FilterTaps [8]; static uint8_t FilterTapDefinitionBitfield; -// In the above, bit I is set if FilterTaps[I] is non-zero. +/* In the above, bit I is set if FilterTaps[I] is non-zero. */ extern uint32_t Z; extern int32_t Loop [16]; @@ -66,7 +66,7 @@ uint32_t IncreaseRate [32] = #define SustainRate DecreaseRateExp -// precalculated env rates for S9xSetEnvRate +/* precalculated env rates for S9xSetEnvRate */ uint32_t AttackERate [16][10]; uint32_t DecayERate [8][10]; uint32_t SustainERate [32][10]; @@ -81,8 +81,8 @@ uint32_t KeyOffERate [10]; #define VOL_DIV16 0x0080 #define ENVX_SHIFT 24 -// F is channel's current frequency and M is the 16-bit modulation waveform -// from the previous channel multiplied by the current envelope volume level. +/* F is channel's current frequency and M is the 16-bit modulation waveform + * from the previous channel multiplied by the current envelope volume level. */ #define PITCH_MOD(F,M) ((F) * ((((uint32_t) (M)) + 0x800000) >> 16) >> 7) #define LAST_SAMPLE 0xffffff |