[PATCH 3/3] winecoreaudio.drv: Use AUHAL API instead of AudioQueue

Francois Gouget fgouget at free.fr
Sat Jul 5 04:13:48 CDT 2014


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 at free.fr>              http://fgouget.free.fr/
      Sufficently advanced incompetence is indistinguishable from malice.



More information about the wine-devel mailing list