Hi all, I decided to switch to new PCM API (values are returned using an indirect pointer rather as return value, so error codes are not mixed with values). The binary compatibility is kept. So, you can use old applications with new libraries and you can even use applications compiled against 1.0 alsa-lib with 0.9 library binaries. The only change for developers or package maintainers are two defines for old (not updated) applications:
#define ALSA_PCM_OLD_HW_PARAMS_API #define ALSA_PCM_OLD_SW_PARAMS_API #include <alsa/asoundlib.h> Also note that these defines might be removed for updated applications (altough the code will not compile with 0.9 libraries): #define ALSA_PCM_NEW_HW_PARAMS_API #define ALSA_PCM_NEW_SW_PARAMS_API Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- 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-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel