mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
More FLUID_DECLARE_VLA
This commit is contained in:
parent
7ef21ceaf7
commit
38dab1e383
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ fluid_mix_one(fluid_rvoice_t* rvoice, fluid_real_t** bufs, unsigned int bufcount
|
|||
{
|
||||
int i, result = 0;
|
||||
|
||||
fluid_real_t local_buf[FLUID_BUFSIZE*blockcount];
|
||||
FLUID_DECLARE_VLA(fluid_real_t, local_buf, FLUID_BUFSIZE*blockcount);
|
||||
|
||||
for (i=0; i < blockcount; i++) {
|
||||
int s = fluid_rvoice_write(rvoice, &local_buf[FLUID_BUFSIZE*i]);
|
||||
|
|
Loading…
Reference in a new issue