Fix type casts for 7.1 output
This commit is contained in:
parent
00272883f6
commit
2a77e840cc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user