diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-10-11 12:02:20 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-10-11 12:02:20 +0000 |
commit | 44554c7908f7e2405a249331f00a35703f5939c2 (patch) | |
tree | bd1a5d2be22e4b4494e0b66331dbfb16dcceb3c5 /Game/Code/switches.inc | |
parent | 0d997f8433e982584a0ab67a6d630d12f4314759 (diff) | |
download | usdx-44554c7908f7e2405a249331f00a35703f5939c2.tar.gz usdx-44554c7908f7e2405a249331f00a35703f5939c2.tar.xz usdx-44554c7908f7e2405a249331f00a35703f5939c2.zip |
Added IAudioPlayback Interface and implementation for BASS.
Created "AudioPlayback" Global Singleton, which removed the need
for the "Music" Global variable. This was done because global singleton objects are
a recognized better "design pattern" achieving the same thing as global variables, but
in a nicer way.
I will be working to
a) separate IAudioPlayback in to separate "Playback" and "Input" Interfaces
b) build a FFMpeg class that implements IAudioPlayback
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@504 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r-- | Game/Code/switches.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc index 4e5deb2d..578271c0 100644 --- a/Game/Code/switches.inc +++ b/Game/Code/switches.inc @@ -4,7 +4,7 @@ {$UNDEF UseSerialPort}
{$UNDEF UseMIDIPort}
{$ELSE}
- {$DEFINE UseSerialPort}
+ {$UNDEF UseSerialPort}
{$DEFINE UseMIDIPort}
{$ENDIF}
@@ -15,4 +15,5 @@ {$ENDIF}
{$ELSE}
{$UNDEF UseBASS}
-{$ENDIF}
\ No newline at end of file +{$ENDIF}
+
|