diff -u packages/alsa/c/src/alsaaudiomanager.c patches/alsaaudiomanager.c --- packages/alsa/c/src/alsaaudiomanager.c 2003-02-19 18:04:56.000000000 +0100 +++ patches/alsaaudiomanager.c 2004-01-17 18:27:39.115180703 +0100 @@ -20,6 +20,10 @@ * */ + /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs. + * It has no effect on Alsa 0.9.x + */ +#define ALSA_PCM_OLD_HW_PARAMS_API 1 #include #include diff -u packages/alsa/c/src/alsaaudioport.c patches/alsaaudioport.c --- packages/alsa/c/src/alsaaudioport.c 2003-02-19 18:02:51.000000000 +0100 +++ patches/alsaaudioport.c 2004-01-17 18:27:59.896960871 +0100 @@ -24,6 +24,12 @@ * This file include the jMax ALSA audio port. */ + /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs. + * It has no effect on Alsa 0.9.x + */ +#define ALSA_PCM_OLD_HW_PARAMS_API 1 +#define ALSA_PCM_OLD_SW_PARAMS_API 1 + #include #include #include