aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-30 21:10:46 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-30 21:10:46 +0000
commitf2525ac65aaf6b91f0d6f768490bffe128e36ffc (patch)
tree035b1865bf755337639c09b1dceddb76838246a8 /src/base
parentcdbf23cd0329e0403b707f21b25adcbb4d37433e (diff)
downloadusdx-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 'src/base')
-rw-r--r--src/base/UMusic.pas1
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);