From 8913873e901f64846217bfa30c9bc04e1a0ac420 Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 19 Oct 2010 20:52:24 +0000 Subject: audio code replaced by (yet pseudo-)plugin git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2687 b956fd51-792f-4845-bead-9b4dfca2ff2c --- mediaplugin/src/base/UMusic.pas | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mediaplugin/src/base') diff --git a/mediaplugin/src/base/UMusic.pas b/mediaplugin/src/base/UMusic.pas index c775fd51..945ad7b9 100644 --- a/mediaplugin/src/base/UMusic.pas +++ b/mediaplugin/src/base/UMusic.pas @@ -140,6 +140,7 @@ const type TAudioSampleFormat = ( + asfUnknown, // unknown format asfU8, asfS8, // unsigned/signed 8 bits asfU16LSB, asfS16LSB, // unsigned/signed 16 bits (endianness: LSB) asfU16MSB, asfS16MSB, // unsigned/signed 16 bits (endianness: MSB) @@ -152,6 +153,7 @@ type const // Size of one sample (one channel only) in bytes AudioSampleSize: array[TAudioSampleFormat] of integer = ( + 0, // asfUnknown 1, 1, // asfU8, asfS8 2, 2, // asfU16LSB, asfS16LSB 2, 2, // asfU16MSB, asfS16MSB -- cgit v1.2.3