[MPlayer-cvslog] r34346 - trunk/stream/ai_alsa.c

diego subversion at mplayerhq.hu
Mon Nov 14 10:58:25 CET 2011


Author: diego
Date: Mon Nov 14 10:58:24 2011
New Revision: 34346

Log:
ai_alsa: set appropriate #defines to work with ALSA 0.9.x headers

Modified:
   trunk/stream/ai_alsa.c

Modified: trunk/stream/ai_alsa.c
==============================================================================
--- trunk/stream/ai_alsa.c	Sun Nov 13 18:05:58 2011	(r34345)
+++ trunk/stream/ai_alsa.c	Mon Nov 14 10:58:24 2011	(r34346)
@@ -20,10 +20,11 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <alloca.h>
+#define ALSA_PCM_NEW_HW_PARAMS_API
+#define ALSA_PCM_NEW_SW_PARAMS_API
+#include <alsa/asoundlib.h>
 
 #include "config.h"
-
-#include <alsa/asoundlib.h>
 #include "audio_in.h"
 #include "mp_msg.h"
 #include "help_mp.h"


More information about the MPlayer-cvslog mailing list