fix effect chain sends

main
cosmonaut 2021-11-03 11:46:40 -07:00
parent b0149fe85c
commit 61f3511fdf
1 changed files with 1 additions and 0 deletions

View File

@ -1583,6 +1583,7 @@ static void FAudioGMS_INTERNAL_SetEffectChain(FAudioGMS_Voice* voice, FAudioGMS_
} }
else else
{ {
voice->sends.SendCount = 2;
voice->sends.pSends = SDL_realloc(voice->sends.pSends, 2 * sizeof(FAudioSendDescriptor)); voice->sends.pSends = SDL_realloc(voice->sends.pSends, 2 * sizeof(FAudioSendDescriptor));
} }