mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* 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);
|
|
}
|
|
} |