diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-17 11:20:56 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-17 11:20:56 +0000 |
commit | 58ffcecef49caacf566150ea266453fbf61930e9 (patch) | |
tree | b1bd41dd367d298e7aba1ed0129e172340012344 /Game/Code/Classes/UMusic.pas | |
parent | b88a17a87b2ccae7788ecce964bbb8d1b0e877da (diff) | |
download | usdx-58ffcecef49caacf566150ea266453fbf61930e9.tar.gz usdx-58ffcecef49caacf566150ea266453fbf61930e9.tar.xz usdx-58ffcecef49caacf566150ea266453fbf61930e9.zip |
- removed hStream in favour of TAudioOutputStream
- removed all this BASS-specific sound-names
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@708 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UMusic.pas | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas index 7e1aa839..c2d616ec 100644 --- a/Game/Code/Classes/UMusic.pas +++ b/Game/Code/Classes/UMusic.pas @@ -88,11 +88,12 @@ type TPCMStereoSample = array[0..1] of Smallint; TPCMData = array[0..511] of TPCMStereoSample; - hStream = Cardinal; + TAudioOutputStream = class + end; TCustomSoundEntry = record Filename : String; - Handle : hStream; + Stream : TAudioOutputStream; end; type @@ -149,7 +150,8 @@ type procedure PlayShuffle; procedure StopShuffle; - function LoadSoundFromFile(var hStream: hStream; Name: string): boolean; + // TODO + //function LoadSoundFromFile(var stream: TAudioOutputStream; Name: string): boolean; //Custom Sounds function LoadCustomSound(const Filename: String): Cardinal; |