Improvements to audout (#58)
* Some audout refactoring and improvements * More audio improvements * Change ReadAsciiString to use long for the Size, avoids some casting
This commit is contained in:
parent
92f47d535e
commit
79a5939734
25 changed files with 567 additions and 177 deletions
18
Ryujinx.Audio/IAalOutput.cs
Normal file
18
Ryujinx.Audio/IAalOutput.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue