> [MUNCH] > `snd_pcm_hw_params_get_channels' > audio.c: In function `IDsDriverBufferImpl_GetPosition': > audio.c:1938: too few arguments to function > `snd_pcm_hw_params_get_period_size' > make: *** [audio.o] Error 1 > > I also get similar build problems with SDL and alsaplayer. > > I'm using slackware 9.1+gcc 3.2.3. Everything worked fine until I > upgraded to the 1.0pre1, but the problems remained with pre3 and rc1. > There is no trace of previous versions that I can find. > > In the case of alsaplayer, it identifies alsa as 0.5x, even though that > has never even been on this system. > > Has there been some API change, or is this a configuration issue?
It is a change of API, you can force use of the old API by adding a couple of defines before including asoundlib.h: #define ALSA_PCM_OLD_HW_PARAMS_API #define ALSA_PCM_OLD_SW_PARAMS_API #include <alsa/asoundlib.h> -- Fernando ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user