[kaffe] CVS kaffe (dalibor): ArkLinux fix for ALSA 1.0

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Tue Dec 9 08:24:02 2003


PatchSet 4209 
Date: 2003/12/09 16:17:24
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
ArkLinux fix for ALSA 1.0

2003-12-09  Bernhard Rosenkraenzer <bero@arklinux.org>

        * libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c,
        libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c
        (ALSA_PCM_OLD_HW_PARAMS_API) Defined to fix kaffe on ALSA 1.x.

Members: 
	ChangeLog:1.1799->1.1800 
	libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:1.1->1.2 
	libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1799 kaffe/ChangeLog:1.1800
--- kaffe/ChangeLog:1.1799	Tue Dec  9 12:37:25 2003
+++ kaffe/ChangeLog	Tue Dec  9 16:17:24 2003
@@ -1,3 +1,9 @@
+2003-12-09  Bernhard Rosenkraenzer <bero@arklinux.org>
+
+	* libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c,
+	libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c
+	(ALSA_PCM_OLD_HW_PARAMS_API) Defined to fix kaffe on ALSA 1.x.
+	
 2003-12-09  Dalibor Topic <robilad@kaffe.org>
 
 	* config/m68k/common.h
Index: kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c
diff -u kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:1.1 kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:1.2
--- kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:1.1	Mon Jan  6 17:14:29 2003
+++ kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c	Tue Dec  9 16:17:25 2003
@@ -20,6 +20,11 @@
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+/* The following is needed for ALSA 1.x and doesn't have any effect on
+ * ALSA 0.9.x
+ */
+#define ALSA_PCM_OLD_HW_PARAMS_API 1
+
 #include "org_tritonus_lowlevel_alsa_AlsaPcmHWParams.h"
 #include "common.h"
 
Index: kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c
diff -u kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c:1.1 kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c:1.2
--- kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c:1.1	Mon Jan  6 17:14:29 2003
+++ kaffe/libraries/extensions/sound/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c	Tue Dec  9 16:17:26 2003
@@ -20,6 +20,11 @@
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+/* The following is required on ALSA 1.0.x and doesn't have any effect
+ * on ALSA 0.9.x
+ */
+#define ALSA_PCM_OLD_SW_PARAMS_API 1
+
 #include "common.h"
 #include "org_tritonus_lowlevel_alsa_AlsaPcmSWParams.h"