1
0
mirror of synced 2024-12-19 19:06:02 +01:00
OpenTaiko/FDK19/コード/03.サウンド/SoundDecoder.cs
2021-09-21 00:16:38 +02:00

21 lines
620 B
C#

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 );
}
}