1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-27 09:52:01 +00:00
Ryujinx/Ryujinx.Audio/IAalOutput.cs

22 lines
516 B
C#
Raw Normal View History

using System;
namespace Ryujinx.Audio
{
public interface IAalOutput : IDisposable
{
int OpenTrack(int SampleRate, int Channels, ReleaseCallback Callback);
void CloseTrack(int Track);
bool ContainsBuffer(int Track, long Tag);
long[] GetReleasedBuffers(int Track, int MaxCount);
void AppendBuffer<T>(int Track, long Tag, T[] Buffer) where T : struct;
void Start(int Track);
void Stop(int Track);
PlaybackState GetState(int Track);
}
}