diff options
author | Johns <johns98@gmx.net> | 2011-12-31 18:55:07 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-31 18:55:07 +0100 |
commit | 0d63fac2e8a2ddc7b954d4b7b9d07851ef096189 (patch) | |
tree | 42ddc120018fd3ec0b7f3c39c26a135dcf805f78 /audio.c | |
parent | c8c760a06980ff7d6183e5d8e993c55acb899678 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |