diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-30 21:10:46 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-30 21:10:46 +0000 |
commit | f2525ac65aaf6b91f0d6f768490bffe128e36ffc (patch) | |
tree | 035b1865bf755337639c09b1dceddb76838246a8 /src/base | |
parent | cdbf23cd0329e0403b707f21b25adcbb4d37433e (diff) | |
download | usdx-f2525ac65aaf6b91f0d6f768490bffe128e36ffc.tar.gz usdx-f2525ac65aaf6b91f0d6f768490bffe128e36ffc.tar.xz usdx-f2525ac65aaf6b91f0d6f768490bffe128e36ffc.zip |
allow playback from audio stream
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2783 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/base/UMusic.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/UMusic.pas b/src/base/UMusic.pas index be6b8baf..c85e3417 100644 --- a/src/base/UMusic.pas +++ b/src/base/UMusic.pas @@ -454,6 +454,7 @@ type // PlaySound/StopSound will be removed then, OpenSound will be renamed to // CreateSound. function OpenSound(const Filename: IPath): TAudioPlaybackStream; + function OpenSoundBuffer(Buffer: TStream; Format: TAudioFormatInfo): TAudioPlaybackStream; procedure PlaySound(Stream: TAudioPlaybackStream); procedure StopSound(Stream: TAudioPlaybackStream); |