[PATCH] libkmid and alsa

Roger Larsson roger.larsson at norran.net
Sat Feb 8 12:34:52 GMT 2003


I found out why libkmid did not find my SB Live!
With this patch I can select among devices - but it crashes when I hit the 
play button...

/RogerL

Index: deviceman.cc
===================================================================
RCS file: /home/kde/kdelibs/libkmid/deviceman.cc,v
retrieving revision 1.49
diff -u -3 -p -r1.49 deviceman.cc
--- deviceman.cc        8 Jan 2003 12:06:09 -0000       1.49
+++ deviceman.cc        8 Feb 2003 12:25:18 -0000
@@ -49,8 +49,10 @@
 #endif

 #ifdef HAVE_ALSA_ASOUNDLIB_H
+#       define HAVE_ALSA_SUPPORT
 #      include <alsa/asoundlib.h>
 #elif defined(HAVE_SYS_ASOUNDLIB_H)
+#       define HAVE_ALSA_SUPPORT
 #      include <sys/asoundlib.h>
 #else
 #ifdef HAVE_LIBASOUND2

-- 
Roger Larsson
SkellefteƄ
Sweden



More information about the kde-multimedia mailing list