revision 1.42 date: 2004/05/05 22:03:48; author: julliard; state: Exp; lines: +143 -67 James Courtier-Dutton James@superbug.demon.co.uk Updated to the new alsa api.
This patch causes a compilation error on my build machine: alsa-headers 0.9+0beta12-3
gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c audio.c: In function `ALSA_TraceParameters': audio.c:398: too many arguments to function `snd_pcm_hw_params_get_access' audio.c:399: too many arguments to function `snd_pcm_hw_params_get_format' audio.c:448: too many arguments to function `snd_pcm_hw_params_get_channels' audio.c:452: too many arguments to function `snd_pcm_hw_params_get_channels_min' audio.c:453: too many arguments to function `snd_pcm_hw_params_get_channels_max' audio.c:462: too many arguments to function `snd_pcm_hw_params_get_buffer_size' audio.c:466: too many arguments to function `snd_pcm_hw_params_get_buffer_size_min' ....
It looks like it removed compatibility macros. Why?