mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
![gdkchan](/assets/img/avatar_default.png)
* Some audout refactoring and improvements * More audio improvements * Change ReadAsciiString to use long for the Size, avoids some casting
18 lines
459 B
C#
18 lines
459 B
C#
namespace Ryujinx.Audio
|
|
{
|
|
public interface IAalOutput
|
|
{
|
|
int OpenTrack(int SampleRate, int Channels, out AudioFormat Format);
|
|
void CloseTrack(int Track);
|
|
|
|
void AppendBuffer(int Track, long Tag, byte[] Buffer);
|
|
bool ContainsBuffer(int Track, long Tag);
|
|
|
|
long[] GetReleasedBuffers(int Track);
|
|
|
|
void Start(int Track);
|
|
void Stop(int Track);
|
|
|
|
PlaybackState GetState(int Track);
|
|
}
|
|
} |