2018-03-16 01:06:24 +01:00
|
|
|
namespace Ryujinx.Audio
|
|
|
|
{
|
|
|
|
public interface IAalOutput
|
|
|
|
{
|
|
|
|
int OpenTrack(int SampleRate, int Channels, out AudioFormat Format);
|
2018-03-16 04:42:44 +01:00
|
|
|
|
2018-03-16 01:06:24 +01:00
|
|
|
void CloseTrack(int Track);
|
|
|
|
|
|
|
|
bool ContainsBuffer(int Track, long Tag);
|
|
|
|
|
2018-03-16 04:42:44 +01:00
|
|
|
long[] GetReleasedBuffers(int Track, int MaxCount);
|
|
|
|
|
|
|
|
void AppendBuffer(int Track, long Tag, byte[] Buffer);
|
2018-03-16 01:06:24 +01:00
|
|
|
|
|
|
|
void Start(int Track);
|
|
|
|
void Stop(int Track);
|
|
|
|
|
|
|
|
PlaybackState GetState(int Track);
|
|
|
|
}
|
|
|
|
}
|