mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
replace alloca with malloc to fix windows builds
This commit is contained in:
parent
1bd80d781c
commit
02351b77f9
2 changed files with 2 additions and 2 deletions
2
Externals/soundtouch/SoundTouch.cpp
vendored
2
Externals/soundtouch/SoundTouch.cpp
vendored
|
@ -348,7 +348,7 @@ void SoundTouch::flush()
|
|||
int i;
|
||||
int nUnprocessed;
|
||||
int nOut;
|
||||
SAMPLETYPE *buff=(SAMPLETYPE*)alloca(64*channels*sizeof(SAMPLETYPE));
|
||||
SAMPLETYPE *buff=(SAMPLETYPE*)malloc(64*channels*sizeof(SAMPLETYPE));
|
||||
|
||||
// check how many samples still await processing, and scale
|
||||
// that by tempo & rate to get expected output sample count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue