blob: eae0d925e07b40c8e6ef0d6060d8958c14b86eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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 <stdio.h>
#include <stdlib.h>
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 <stdio.h>
#include <stdlib.h>
#include <errno.h>
|