5 Jul
2014
5 Jul
'14
4:13 a.m.
On Fri, 27 Jun 2014, Andrew Eikum wrote: [...]
+ if(This->wrap_bufsize_frames < *nframes){ + free(This->wrap_buffer); + This->wrap_buffer = malloc(data->mBuffers[0].mDataByteSize); + This->wrap_bufsize_frames = *nframes;
Does the AUHAL API require that we use malloc() / free() here (and in the other locations dealing with wrap_buffer) or could this be switched to HeapAlloc() / HeapFree()? If we're free to use the latter doing so would be more consistent with the rest of Wine. -- Francois Gouget <fgouget(a)free.fr> http://fgouget.free.fr/ Sufficently advanced incompetence is indistinguishable from malice.