mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-16 14:33:17 +01:00
4314a8f3e5
* Add support for events, move concept of domains to IpcService * Support waiting for KThread, remove some test code, other tweaks * Use move handle on NIFM since I can't test that now, it's better to leave it how it was
24 lines
566 B
C#
24 lines
566 B
C#
namespace Ryujinx.Audio
|
|
{
|
|
public interface IAalOutput
|
|
{
|
|
int OpenTrack(
|
|
int SampleRate,
|
|
int Channels,
|
|
ReleaseCallback Callback,
|
|
out AudioFormat Format);
|
|
|
|
void CloseTrack(int Track);
|
|
|
|
bool ContainsBuffer(int Track, long Tag);
|
|
|
|
long[] GetReleasedBuffers(int Track, int MaxCount);
|
|
|
|
void AppendBuffer(int Track, long Tag, byte[] Buffer);
|
|
|
|
void Start(int Track);
|
|
void Stop(int Track);
|
|
|
|
PlaybackState GetState(int Track);
|
|
}
|
|
} |