a patch for using the last alsa
Florin Braescu <[email protected]> Thu, 19 Feb 2004 08:45:51 -0800 (PST)
| Newsgroups | gmane.comp.audio.mad.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody,
I am a user of the source based Lunar Linux distro
(www.lunar-linux.org). This distro contains the mad
stuff. In order to use the alsa module (last version
1.0.2c) i use this simple patch. Please incorporate it
in the package.
Regards,
Florin
patch begins here -->
--- ./audio_alsa.c.old 2003-05-30 09:26:17.000000000
+0300
+++ ./audio_alsa.c 2004-01-08 17:13:39.329443480 +0200
@@ -27,7 +27,11 @@
#include "global.h"
#include <errno.h>
-#include <sys/asoundlib.h>
+
+#define ALSA_PCM_OLD_HW_PARAMS_API
+#define ALSA_PCM_OLD_SW_PARAMS_API
+#include <alsa/asoundlib.h>
+
#include <mad.h>
#include "audio.h"
<-- and ends here.
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools