OSDN Git Service

DTXManiaソリューション、DTXManiaプロジェクト、DTXCreatorプロジェクト、FDKプロジェクトについて英語化。
[dtxmania/dtxmania.git] / FDK / コード / 03.サウンド / SoundDecoder.cs
diff --git a/FDK/コード/03.サウンド/SoundDecoder.cs b/FDK/コード/03.サウンド/SoundDecoder.cs
new file mode 100644 (file)
index 0000000..94d77ad
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Diagnostics;
+
+namespace FDK
+{
+       /// <summary>
+       /// xa,oggデコード用の基底クラス
+       /// </summary>
+       public abstract class SoundDecoder //: IDisposable
+       {
+               public abstract int Open( string filename );
+               public abstract int GetFormat( int nHandle, ref CWin32.WAVEFORMATEX wfx );
+               public abstract uint GetTotalPCMSize( int nHandle );
+               public abstract int Seek( int nHandle, uint dwPosition );
+               public abstract int Decode( int nHandle, IntPtr pDest, uint szDestSize, int bLoop );
+               public abstract void Close( int nHandle );
+       }
+}