aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/media/UAudioPlayback_SoftMixer.pas
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-06-27 21:40:55 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-06-27 21:40:55 +0000
commit544d6b5d3ebc527245d20542b6130baef315b715 (patch)
tree9740736457682af175aa4b4d46d1927e3ee04cd9 /unicode/src/media/UAudioPlayback_SoftMixer.pas
parent23b9720e7395f517e8fc38faabc7fd825d9ee33c (diff)
downloadusdx-544d6b5d3ebc527245d20542b6130baef315b715.tar.gz
usdx-544d6b5d3ebc527245d20542b6130baef315b715.tar.xz
usdx-544d6b5d3ebc527245d20542b6130baef315b715.zip
merged r1830 trunk (current) in this branch
add some files to svn:ignore git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1831 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode/src/media/UAudioPlayback_SoftMixer.pas')
-rw-r--r--unicode/src/media/UAudioPlayback_SoftMixer.pas6
1 files changed, 2 insertions, 4 deletions
diff --git a/unicode/src/media/UAudioPlayback_SoftMixer.pas b/unicode/src/media/UAudioPlayback_SoftMixer.pas
index c8da6bcd..c87e461d 100644
--- a/unicode/src/media/UAudioPlayback_SoftMixer.pas
+++ b/unicode/src/media/UAudioPlayback_SoftMixer.pas
@@ -51,7 +51,7 @@ type
SampleBuffer: PByteArray;
SampleBufferSize: integer;
SampleBufferCount: integer; // number of available bytes in SampleBuffer
- SampleBufferPos: cardinal;
+ SampleBufferPos: integer;
SourceBuffer: PByteArray;
SourceBufferSize: integer;
@@ -564,9 +564,8 @@ var
ConversionOutputSize: integer; // max. number of converted data (= buffer size)
ConversionOutputCount: integer; // actual number of converted data
SourceSize: integer;
- RequestedSourceSize: integer;
NeededSampleBufferSize: integer;
- BytesNeeded, BytesAvail: integer;
+ BytesNeeded: integer;
SourceFormatInfo, OutputFormatInfo: TAudioFormatInfo;
SourceFrameSize, OutputFrameSize: integer;
SkipOutputCount: integer; // number of output-data bytes to skip
@@ -574,7 +573,6 @@ var
FillCount: integer; // number of bytes to fill with padding data
CopyCount: integer;
PadFrame: PByteArray;
- i: integer;
begin
Result := -1;