aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/switches.inc
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-02 07:50:39 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-02 07:50:39 +0000
commitfaf4c13bf41a17ce920a2194fc396f8bf7b44331 (patch)
tree0049a0dacad82a08b934167660bfabd6c8ea47a8 /Game/Code/switches.inc
parent67d0be6741c5466c786d8d389e34c83e1be7e3c0 (diff)
downloadusdx-faf4c13bf41a17ce920a2194fc396f8bf7b44331.tar.gz
usdx-faf4c13bf41a17ce920a2194fc396f8bf7b44331.tar.xz
usdx-faf4c13bf41a17ce920a2194fc396f8bf7b44331.zip
Audio/Video engine update:
- lyrics<->audio synchronisation (TSyncSource) - better resampling (optional support for libsamplerate) - cleaner termination of audio/video streams/devices - improved decoders and decoder infrastructure - many other improvements/cleanups Currently just for testing (not enabled by default): - Background music - Voice-Passthrough (hear what you sing) - Video VSync git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1157 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r--Game/Code/switches.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index 52df7e7d..bb9a50fe 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -74,10 +74,11 @@
// audio config
{$IF Defined(HaveBASS)}
{$DEFINE UseBASSPlayback}
+ {$DEFINE UseBASSDecoder}
{$DEFINE UseBASSInput}
{$ELSEIF Defined(HavePortaudio)}
- {.$DEFINE UsePortaudioPlayback}
{$DEFINE UseSDLPlayback}
+ {.$DEFINE UsePortaudioPlayback}
{$DEFINE UsePortaudioInput}
{$IFDEF HavePortmixer}
{$DEFINE UsePortmixer}
@@ -87,12 +88,17 @@
// ffmpeg config
{$IFDEF HaveFFMpeg}
{$DEFINE UseFFMpegDecoder}
+ {$DEFINE UseFFMpegResample}
{$DEFINE UseFFMpegVideo}
{$IFDEF HaveSWScale}
{$DEFINE UseSWScale}
{$ENDIF}
{$ENDIF}
+{$IFDEF HaveLibsamplerate}
+ {$DEFINE UseSRCResample}
+{$ENDIF}
+
// projectM config
{$IF Defined(HaveProjectM)}
{$DEFINE UseProjectM}
@@ -104,7 +110,7 @@
{$DEFINE UseFFMpeg}
{$IFEND}
-{$IF Defined(UseBASSInput) or Defined(UseBASSPlayback)}
+{$IF Defined(UseBASSInput) or Defined(UseBASSPlayback) or Defined(UseBASSDecoder)}
{$DEFINE UseBASS}
{$IFEND}