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.
tom