[PATCH 3/6] winealsa: Implement IDsCaptureDriverImpl_Open

Tomas Carnecky tom at dbservice.com
Fri Aug 17 13:15:19 CDT 2007

Maarten Lankhorst wrote:
> Last time I tried using alloca in alsa volume control it was rejected,
> so I'm just walking safe path.

Well the existing coded uses alloca() ... just saw this while compiling
wine (winealsa.drv):

waveout.c: In function 'wodOpen':
waveout.c:582: warning: the address of 'sw_params' will always evaluate
as 'true'

which I know very well, it's from snd_*_alloca() macros,
snd_pcm_sw_params_alloca() is this case.


More information about the wine-devel mailing list