aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-07-06 16:32:58 -0700
committerChris Robinson <[email protected]>2010-07-06 16:32:58 -0700
commit6db3463d1787480a02c34632adecc653b2c3686b (patch)
tree18f4ed4b82877e4cb6c9585386cfecd5ce48739f /Alc
parent969818db6fbadf2b3d42df63a9729f4476219d12 (diff)
Fix backslash alignment for the single-channel mixer macro
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 15de0abe..d92f8311 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1114,40 +1114,40 @@ next_source:
if(Channels == 1) /* Mono */
{
-#define DO_MIX(resampler) do { \
- while(BufferSize--) \
- { \
- for(i = 0;i < OUTPUTCHANNELS;i++) \
- DrySend[i] += dryGainStep[i]; \
- for(i = 0;i < MAX_SENDS;i++) \
- WetSend[i] += wetGainStep[i]; \
- \
- /* First order interpolator */ \
- value = (resampler)(Data[k], Data[k+1], DataPosFrac); \
- \
- /* Direct path final mix buffer and panning */ \
- outsamp = lpFilter4P(DryFilter, 0, value); \
- DryBuffer[j][FRONT_LEFT] += outsamp*DrySend[FRONT_LEFT]; \
- DryBuffer[j][FRONT_RIGHT] += outsamp*DrySend[FRONT_RIGHT]; \
- DryBuffer[j][SIDE_LEFT] += outsamp*DrySend[SIDE_LEFT]; \
- DryBuffer[j][SIDE_RIGHT] += outsamp*DrySend[SIDE_RIGHT]; \
- DryBuffer[j][BACK_LEFT] += outsamp*DrySend[BACK_LEFT]; \
- DryBuffer[j][BACK_RIGHT] += outsamp*DrySend[BACK_RIGHT]; \
- DryBuffer[j][FRONT_CENTER] += outsamp*DrySend[FRONT_CENTER]; \
- DryBuffer[j][BACK_CENTER] += outsamp*DrySend[BACK_CENTER]; \
- \
- /* Room path final mix buffer and panning */ \
- for(i = 0;i < MAX_SENDS;i++) \
- { \
- outsamp = lpFilter2P(WetFilter[i], 0, value); \
- WetBuffer[i][j] += outsamp*WetSend[i]; \
- } \
- \
- DataPosFrac += increment; \
- k += DataPosFrac>>FRACTIONBITS; \
- DataPosFrac &= FRACTIONMASK; \
- j++; \
- } \
+#define DO_MIX(resampler) do { \
+ while(BufferSize--) \
+ { \
+ for(i = 0;i < OUTPUTCHANNELS;i++) \
+ DrySend[i] += dryGainStep[i]; \
+ for(i = 0;i < MAX_SENDS;i++) \
+ WetSend[i] += wetGainStep[i]; \
+ \
+ /* First order interpolator */ \
+ value = (resampler)(Data[k], Data[k+1], DataPosFrac); \
+ \
+ /* Direct path final mix buffer and panning */ \
+ outsamp = lpFilter4P(DryFilter, 0, value); \
+ DryBuffer[j][FRONT_LEFT] += outsamp*DrySend[FRONT_LEFT]; \
+ DryBuffer[j][FRONT_RIGHT] += outsamp*DrySend[FRONT_RIGHT]; \
+ DryBuffer[j][SIDE_LEFT] += outsamp*DrySend[SIDE_LEFT]; \
+ DryBuffer[j][SIDE_RIGHT] += outsamp*DrySend[SIDE_RIGHT]; \
+ DryBuffer[j][BACK_LEFT] += outsamp*DrySend[BACK_LEFT]; \
+ DryBuffer[j][BACK_RIGHT] += outsamp*DrySend[BACK_RIGHT]; \
+ DryBuffer[j][FRONT_CENTER] += outsamp*DrySend[FRONT_CENTER]; \
+ DryBuffer[j][BACK_CENTER] += outsamp*DrySend[BACK_CENTER]; \
+ \
+ /* Room path final mix buffer and panning */ \
+ for(i = 0;i < MAX_SENDS;i++) \
+ { \
+ outsamp = lpFilter2P(WetFilter[i], 0, value); \
+ WetBuffer[i][j] += outsamp*WetSend[i]; \
+ } \
+ \
+ DataPosFrac += increment; \
+ k += DataPosFrac>>FRACTIONBITS; \
+ DataPosFrac &= FRACTIONMASK; \
+ j++; \
+ } \
} while(0)
switch(Resampler)