OSDN Git Service

Merge branch 'feature/37178_プロジェクトとソリューションファイルの英語化' into develop
[dtxmania/dtxmania.git] / FDK17プロジェクト / コード / 03.サウンド / Cmp3.cs
diff --git a/FDK17プロジェクト/コード/03.サウンド/Cmp3.cs b/FDK17プロジェクト/コード/03.サウンド/Cmp3.cs
deleted file mode 100644 (file)
index 6d7f756..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-using System;\r
-using System.Collections.Generic;\r
-using System.Text;\r
-using System.Runtime.InteropServices;\r
-using System.IO;\r
-using System.Diagnostics;\r
-using System.Threading;\r
-\r
-\r
-namespace FDK\r
-{\r
-       public unsafe class Cmp3 : SoundDecoder\r
-       {\r
-//             static byte[] FOURCC = Encoding.ASCII.GetBytes( "SggO" );       // OggS の little endian\r
-\r
-\r
-               #region [ SoundDecoder.dll インポート(mpr 関連)]\r
-               //-----------------\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern void mp3Close( int nHandle );\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern int mp3Decode( int nHandle, IntPtr pDest, uint szDestSize, int bLoop );\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern int mp3GetFormat( int nHandle, ref CWin32.WAVEFORMATEX wfx );\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern uint mp3GetTotalPCMSize( int nHandle );\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern int mp3Open( string fileName );\r
-               [DllImport( "SoundDecoder.dll" )]\r
-               private static extern int mp3Seek( int nHandle, uint dwPosition );\r
-               //-----------------\r
-               #endregion\r
-\r
-\r
-               public override int Open( string filename )\r
-               {\r
-                       return mp3Open( filename );\r
-               }\r
-               public override int GetFormat( int nHandle, ref CWin32.WAVEFORMATEX wfx )\r
-               {\r
-                       return mp3GetFormat( nHandle, ref wfx );\r
-               }\r
-               public override uint GetTotalPCMSize( int nHandle )\r
-               {\r
-                       return mp3GetTotalPCMSize( nHandle );\r
-               }\r
-               public override int Seek( int nHandle, uint dwPosition )\r
-               {\r
-                       return mp3Seek( nHandle, dwPosition );\r
-               }\r
-               public override int Decode( int nHandle, IntPtr pDest, uint szDestSize, int bLoop )\r
-               {\r
-                       return mp3Decode( nHandle, pDest, szDestSize, bLoop );\r
-               }\r
-\r
-               public override void Close( int nHandle )\r
-               {\r
-                       mp3Close( nHandle );\r
-               }\r
-\r
-       }\r
-}\r