Alsa compilation error

Francois Gouget fgouget at free.fr
Thu May 13 08:50:23 CDT 2004


revision 1.42
date: 2004/05/05 22:03:48;  author: julliard;  state: Exp;  lines: +143 -67
James Courtier-Dutton <James at 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?

-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                      Computers are like airconditioners
                They stop working properly if you open WINDOWS



More information about the wine-devel mailing list