2018-03-15 17:06:24 -07:00
|
|
|
namespace Ryujinx.Audio
|
|
|
|
{
|
|
|
|
public interface IAalOutput
|
|
|
|
{
|
2018-03-19 11:58:46 -07:00
|
|
|
int OpenTrack(
|
|
|
|
int SampleRate,
|
|
|
|
int Channels,
|
|
|
|
ReleaseCallback Callback,
|
|
|
|
out AudioFormat Format);
|
2018-03-15 20:42:44 -07:00
|
|
|
|
2018-03-15 17:06:24 -07:00
|
|
|
void CloseTrack(int Track);
|
|
|
|
|
|
|
|
bool ContainsBuffer(int Track, long Tag);
|
|
|
|
|
2018-03-15 20:42:44 -07:00
|
|
|
long[] GetReleasedBuffers(int Track, int MaxCount);
|
|
|
|
|
|
|
|
void AppendBuffer(int Track, long Tag, byte[] Buffer);
|
2018-03-15 17:06:24 -07:00
|
|
|
|
|
|
|
void Start(int Track);
|
|
|
|
void Stop(int Track);
|
|
|
|
|
|
|
|
PlaybackState GetState(int Track);
|
|
|
|
}
|
|
|
|
}
|