[vlc-commits] ALSA: remove useless preprocessor stuff
Rémi Denis-Courmont
git at videolan.org
Mon Aug 1 20:05:11 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 1 21:04:58 2011 +0300| [87009e4b0633880d1078780a6a7aa56e33d87f36] | committer: Rémi Denis-Courmont
ALSA: remove useless preprocessor stuff
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87009e4b0633880d1078780a6a7aa56e33d87f36
---
modules/audio_output/alsa.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index bd8e921..ead2079 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -1,8 +1,8 @@
/*****************************************************************************
* alsa.c : alsa plugin for vlc
*****************************************************************************
- * Copyright (C) 2000-2001 the VideoLAN team
- * $Id$
+ * Copyright (C) 2000-2010 the VideoLAN team
+ * Copyright (C) 2009-2011 Rémi Denis-Courmont
*
* Authors: Henri Fallon <henri at videolan.org> - Original Author
* Jeffrey Baker <jwbaker at acm.org> - Port to ALSA 1.0 API
@@ -35,17 +35,10 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
-
-#include <errno.h> /* ENOMEM */
#include <vlc_dialog.h>
-
#include <vlc_aout.h>
#include <vlc_cpu.h>
-/* ALSA part
- Note: we use the new API which is available since 0.9.0beta10a. */
-#define ALSA_PCM_NEW_HW_PARAMS_API
-#define ALSA_PCM_NEW_SW_PARAMS_API
#include <alsa/asoundlib.h>
#include <alsa/version.h>
More information about the vlc-commits
mailing list