2018-03-16 00:06:24 +00:00
|
|
|
namespace Ryujinx.Audio
|
|
|
|
{
|
|
|
|
public interface IAalOutput
|
|
|
|
{
|
2018-07-15 02:57:41 +00:00
|
|
|
int OpenTrack(int SampleRate, int Channels, ReleaseCallback Callback);
|
2018-03-16 03:42:44 +00:00
|
|
|
|
2018-03-16 00:06:24 +00:00
|
|
|
void CloseTrack(int Track);
|
|
|
|
|
|
|
|
bool ContainsBuffer(int Track, long Tag);
|
|
|
|
|
2018-03-16 03:42:44 +00:00
|
|
|
long[] GetReleasedBuffers(int Track, int MaxCount);
|
|
|
|
|
2018-07-15 02:57:41 +00:00
|
|
|
void AppendBuffer<T>(int Track, long Tag, T[] Buffer) where T : struct;
|
2018-03-16 00:06:24 +00:00
|
|
|
|
|
|
|
void Start(int Track);
|
|
|
|
void Stop(int Track);
|
|
|
|
|
|
|
|
PlaybackState GetState(int Track);
|
|
|
|
}
|
|
|
|
}
|