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?
Francois Gouget wrote:
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?
You have to use a version of alsa that came out after 19th June 2002 I.E. 0.9.0rc2 or above. The version of alsa you are using came out in 26th Feb 2002
Just upgrade your alsa version to a NON-BETA version.
Cheers James
On Thu, 13 May 2004, James Courtier-Dutton wrote: [...]
You have to use a version of alsa that came out after 19th June 2002 I.E. 0.9.0rc2 or above. The version of alsa you are using came out in 26th Feb 2002
Just upgrade your alsa version to a NON-BETA version.
Debian stable does not have anything more recent you insensitive clod! (I hope you read the Slashdot polls, otherzise ignore the last 3 words)
Would restoring the macros be an acceptable way to restore compatibility with older Alsa versions?
Francois Gouget wrote:
On Thu, 13 May 2004, James Courtier-Dutton wrote: [...]
You have to use a version of alsa that came out after 19th June 2002 I.E. 0.9.0rc2 or above. The version of alsa you are using came out in 26th Feb 2002
Just upgrade your alsa version to a NON-BETA version.
Debian stable does not have anything more recent you insensitive clod! (I hope you read the Slashdot polls, otherzise ignore the last 3 words)
Would restoring the macros be an acceptable way to restore compatibility with older Alsa versions?
So you are using wine cvs and expecting it to work with some other code that is over 2 years old. I don't think I am the "clod" here. ;-)
Just use alsa's oss emulation until you decide to upgrade your kernel.
Francois Gouget fgouget@free.fr writes:
On Thu, 13 May 2004, James Courtier-Dutton wrote:
You have to use a version of alsa that came out after 19th June 2002 I.E. 0.9.0rc2 or above. The version of alsa you are using came out in 26th Feb 2002
Just upgrade your alsa version to a NON-BETA version.
Debian stable does not have anything more recent you insensitive clod! (I hope you read the Slashdot polls, otherzise ignore the last 3 words)
What polls? Btw. you can get my alsa packages for Woody: http://afavant.elte.hu/~wferi/debian Not the latest, but I haven't got there yet and they work.