IAalOutput.cs 542 B

12345678910111213141516171819202122
  1. using System;
  2. namespace Ryujinx.Audio
  3. {
  4. public interface IAalOutput : IDisposable
  5. {
  6. int OpenTrack(int sampleRate, int channels, ReleaseCallback callback);
  7. void CloseTrack(int trackId);
  8. bool ContainsBuffer(int trackId, long bufferTag);
  9. long[] GetReleasedBuffers(int trackId, int maxCount);
  10. void AppendBuffer<T>(int trackId, long bufferTag, T[] buffer) where T : struct;
  11. void Start(int trackId);
  12. void Stop(int trackId);
  13. PlaybackState GetState(int trackId);
  14. }
  15. }