Fix type casts for 7.1 output

This commit is contained in:
Chris Robinson 2009-09-30 16:02:49 -07:00
parent 00272883f6
commit 2a77e840cc

View File

@ -1336,8 +1336,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
((type*)buffer)[4] = (func)(DryBuffer[i][FRONT_CENTER]); \
((type*)buffer)[5] = (func)(DryBuffer[i][LFE]); \
} \
((ALubyte*)buffer)[6] = (func)(DryBuffer[i][SIDE_LEFT]); \
((ALubyte*)buffer)[7] = (func)(DryBuffer[i][SIDE_RIGHT]); \
((type*)buffer)[6] = (func)(DryBuffer[i][SIDE_LEFT]); \
((type*)buffer)[7] = (func)(DryBuffer[i][SIDE_RIGHT]); \
buffer = ((type*)buffer) + 8; \
} \
break;