summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-31 18:55:07 +0100
committerJohns <johns98@gmx.net>2011-12-31 18:55:07 +0100
commit0d63fac2e8a2ddc7b954d4b7b9d07851ef096189 (patch)
tree42ddc120018fd3ec0b7f3c39c26a135dcf805f78 /audio.c
parentc8c760a06980ff7d6183e5d8e993c55acb899678 (diff)
downloadvdr-plugin-softhddevice-0d63fac2e8a2ddc7b954d4b7b9d07851ef096189.tar.gz
vdr-plugin-softhddevice-0d63fac2e8a2ddc7b954d4b7b9d07851ef096189.tar.bz2
Use only the needed number of surfaces.
Fix problem with video-xvba and too many surfaces used. Prepare new audio driver "oss".
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio.c b/audio.c
index a12372f..2311606 100644
--- a/audio.c
+++ b/audio.c
@@ -32,6 +32,8 @@
///
#define USE_AUDIO_THREAD
+//#define USE_ALSA ///< enable alsa support
+//#define USE_OSS ///< enable oss support
#include <stdio.h>
#include <stdint.h>
@@ -41,7 +43,9 @@
#define _(str) gettext(str) ///< gettext shortcut
#define _N(str) str ///< gettext_noop shortcut
+#ifdef USE_ALSA
#include <alsa/asoundlib.h>
+#endif
#ifdef USE_AUDIO_THREAD
#ifndef __USE_GNU