21 lines
620 B
C#
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 );
|
|
}
|
|
}
|